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

Error occur when running script #16

Open
Daniel3356 opened this issue Oct 21, 2021 · 0 comments
Open

Error occur when running script #16

Daniel3356 opened this issue Oct 21, 2021 · 0 comments

Comments

@Daniel3356
Copy link

After running the program and folloing the instruction this is what I got:

sudo python3 main.py -d site.com -Synflood -T 5000 -t 10.0
File "/Users/something/PycharmProjects/DDOS/main.py", line 472, in <module>
    main()
  File "/Users/something/PycharmProjects/DDOS/main.py", line 426, in main
    ip = fake_ip()
  File "/Users/something/PycharmProjects/DDOS/main.py", line 64, in fake_ip
    rand[x] = randrange(0, 256)
TypeError: 'range' object does not support item assignment

How could I fix it?

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

1 participant