Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full of bugs & inproper syntax #65

Open
hazeyez opened this issue Oct 22, 2021 · 2 comments
Open

full of bugs & inproper syntax #65

hazeyez opened this issue Oct 22, 2021 · 2 comments

Comments

@hazeyez
Copy link

hazeyez commented Oct 22, 2021

this script is either terribly written or not at all optimized for python3 ?

after having to add parenthesis to every "print" line 23-26,33,35,37,39,47,48

i.e: print "Author : HA-MRX" should = print ("Author : HA-MRX")

I get the following error:

File "/home/hazeyez/ddos/DDos-Attack/ddos-attack.py", line 28, in
ip = raw_input("IP Target : ")
NameError: name 'raw_input' is not defined

raw_input was changed to 'input' for python3 so that needed to be edited.

once all of these changes were made, the script ran, but i got the error sh: 1: figlet: not found


after entering the IP & Port, I got the following error:

sh: 1: figlet: not found
[ ] 0%
[===== ] 25%
[========== ] 50%
[=============== ] 75%
[====================] 100%
Traceback (most recent call last):
File "/home/hazeyez/ddos/DDos-Attack/ddos-attack.py", line 45, in
sock.sendto(bytes, (ip,port))
TypeError: an integer is required (got type str)

@sk337
Copy link

sk337 commented Nov 2, 2021

good tools https://github.com/H1R0GH057/Anonymous

@Gteditor99
Copy link

Gteditor99 commented Feb 28, 2022

TypeError: an integer is required (got type str)

sock.sendto(bytes, (ip,port))

input() saved the port as a string,
hence the TypeError,

TypeError: an integer is required (got type str)

use:

sock.sendto(bytes, (ip,int(port)))

fixed in 98083eb

although I am unclear as to what "figlet" means.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants