Jump to content
SilviuCS

[PYTHON] Multi-protocol Flooder

Recommended Posts

Posted

Intrebare :

python pastie-1074561.py

Traceback (most recent call last):

File "pastie-1074561.py", line 65, in <module>

parser.add_option("-p","--port",help="Port to flood",type="int",dest="port")

File "/usr/lib/python2.7/optparse.py", line 1020, in add_option

self._check_conflict(option)

File "/usr/lib/python2.7/optparse.py", line 995, in _check_conflict

option)

optparse.OptionConflictError: option -p/--port: conflicting option string(s): -p, --port

Posted

Scuzati-ma daca va enervez, dar sunt incepator in Python.

Am copiat tot de pe pastie si am pus intr-un notepad care l-am facut .py

Intrebarea mea este: trebuie sa il incarc undeva, sau sa il deschid in calculator? Pentru ca atunci cand il deschid, o fac cu Notepad automat.

Posted

trebuie sa instalezi python intai, in cazul in care nu l-ai instalat

Ca sa executi programul il executi fie prim python fisier.py

fie setezi ca fisierele py sa fie deschise automat cu python.

Posted (edited)

Daca fisierele .py sunt setate pentru a fi deschide in python si executi fisierul.py dublu click(open) se va inchide automat fereastra.

Revenind la scriptul postat.

  File "test.py", line 65, in <module>
parser.add_option("-p","--port",help="Port to flood",type="int",dest="port")

File "C:\Python27\lib\optparse.py", line 1020, in add_option
self._check_conflict(option)
File "C:\Python27\lib\optparse.py", line 995, in _check_conflict
option)
optparse.OptionConflictError: option -p/--port: conflicting option string(s): -p
, --port

linia 59 - parser.add_option("-p", "--port",help="Port of attack",type="int",dest="port",default=None)

linita 65 - parser.add_option("-p","--port",help="Port to flood",type="int",dest="port")

Edited by Haceru

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...