grafov / hulk

HULK DoS tool ported to Go with some additional features.
http://siberian.laika.name/node/7
GNU General Public License v3.0
818 stars 463 forks source link

File "hulk.py", line 150, in <module> #4

Closed gearcapitan closed 7 years ago

gearcapitan commented 8 years ago

╭──[root Hacked by Gear in ~/root/hulk on master✘✘✘ process!] ╰──± python hulk.py -site www.(thesite).org -- HULK Attack Started -- Traceback (most recent call last): File "hulk.py", line 150, in host = m.group(1) AttributeError: 'NoneType' object has no attribute 'group'

rohitchormale commented 7 years ago

Hope this regex will solve issue.

blackadmini commented 7 years ago

hic. the same issue with me, my OS: centos 6 i tested python2.6 and python2.7 not working. /path/to/python -site http://www.(thesite).com "safe" output: -- HULK Attack Started -- Traceback (most recent call last): File "hulk.py", line 150, in host = m.group(1) AttributeError: 'NoneType' object has no attribute 'group'

punkjj commented 7 years ago

Same

ghost commented 7 years ago

Solved !

Instead of running the corrupted or not working python script. Follow the instruction for installing go on your machine. (https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-14-04) Then run the Go script with the commando : go run hulk.go -site example.com Remember not to use this tool with out autorization of the website owner.

rohitchormale commented 7 years ago

@blackadmini @punkjj DId you test my pull request ?

rohitchormale commented 7 years ago

If not, please test & let me know if problem persists. New regex still will not work with ip address. We can add fix by adding 'host' header optionally. I mean if 'site' is ip address, we will not add 'host' header. I will soon send new pull request.

BonBonSlick commented 4 years ago

Issue still exists for python --version 2.7.17

 -- HULK Attack Started --
Traceback (most recent call last):
  File "hulk.py", line 150, in <module>
    host = m.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
BlackMage2 commented 4 years ago

with which Python version does hulk run without error?

BonBonSlick commented 4 years ago

@BlackMage2 idk, tried v3 and 2.7

swordapi commented 2 years ago

Use: python2 hulk.py

cmderx commented 2 years ago

This tool is http specific not https

atirrh commented 2 years ago

Use: python2 hulk.py

Thank you, It worked 👍