hulk's Issues
message;
$id = $message->from->id;
$rep = $message->message_id ;
$m = $rep + 1 ;
$chat_id = $message->chat->id;
$from_id = $message->from->id;
$admin = "5967035587" ; //ايدي الادمن
$text = $message->text;
$namee = $update->callback_query->from->first_name;
$user = $message->from->username;
if(isset($update->callback_query)){
$chat_id = $update->callback_query->message->chat->id;
$message_id = $update->callback_query->message->message_id;
$data = $update->callback_query->data;
$user = $update->callback_query->from->username;
}
if($message && $from_id != $admin){
bot('forwardMessage',[
'chat_id'=>$admin,
'from_chat_id'=>$chat_id,
'message_id'=>$rep,
'text'=>$text,
]);
}
$base = file_get_contents("$chat_id");
if($text == "/start" && $base == ''){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"اختر كيف تريد استخدام بحث اليوتيوب ",
'reply_to_message_id'=>$update->message->message_id,
'parse_mode'=>"MARKDOWN",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>'تحميل صوت', 'callback_data'=>"mp3"],['text'=>'تحميل فيديو', 'callback_data'=>"mp4"]],
]
])
]);
}
if($data == 'mp3'){
file_put_contents("$chat_id","mp3");
bot('EditMessageText',[
'chat_id'=>$chat_id,
'message_id'=>$message_id,
'text'=>"ارسل الكلمه للبحث عنها",
'parse_mode'=>"MARKDOWN",
]);
}
if($data == 'mp4'){
file_put_contents("$chat_id","mp4");
bot('EditMessageText',[
'chat_id'=>$chat_id,
'message_id'=>$message_id,
'text'=>"ارسل الكلمه للبحث عنها",
'parse_mode'=>"MARKDOWN",
]);
}
$yy = file_get_contents("$chat_id");
if($text && $yy == 'mp3'){
file_put_contents("$chat_id","");
file_get_contents("https://api.telegram.org/bot$token/sendAnimation?chat_id=$chat_id&animation=https://t.me/youtube7odabot/7951&reply_to_message_id=$rep");
$xx = "http://api.medooo.ml/leomedo/yt?text=$text?token=$token&chat_id=$chat_id&msg_id=$rep&type=mp3";
$ch = curl_init($xx); // such as http://example.com/example.xml
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, 0);
$data = curl_exec($ch);
curl_close($ch);
file_get_contents("https://api.telegram.org/bot$token/deleteMessage?chat_id=$chat_id&message_id=$m");
}
if($text && $yy == 'mp4'){
file_put_contents("$chat_id","");
file_get_contents("https://api.telegram.org/bot$token/sendAnimation?chat_id=$chat_id&animation=https://t.me/youtube7odabot/7951&reply_to_message_id=$rep");
$ytt = "http://api.medooo.ml/leomedo/yt?text=$text?token=$token&chat_id=$chat_id&msg_id=$rep&type=mp4";
$ch = curl_init($ytt); // such as http://example.com/example.xml
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, 0);
$data = curl_exec($ch);
curl_close($ch);
file_get_contents("https://api.telegram.org/bot$token/deleteMessage?chat_id=$chat_id&message_id=$m");
}
if($text == "وش بيقول" or $text == "بيقول اي" or $text == "??" or $text == "؟؟" && isset($update->message->reply_to_message->voice)){
$idd = $update->message->reply_to_message->voice->file_id ;
$ytt = "https://api.medooo.ml/leomedo/voiceRecognise?token=$token&chat_id=$chat_id&file_id=$idd&msg_id=$rep";
$ch = curl_init($ytt); // such as http://example.com/example.xml
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, 0);
$data = curl_exec($ch);
curl_close($ch);
}
I need a strategy to destroy a server I want.
I see that there have been no commits since more than an year. Is this repo still being maintained or any plans for updating?
If this repo is not going to be maintained, I would advice people to take a look at Hulk-v3.
I have massively upgraded Hulk to use Python3 and with that, asynchronous event loops (which I believe are similar to goroutines).
Also turned Hulk into a DDoS with support for a botnet connecting to a server for instructions and target status being synchronized.
And oh, recently added a GUI Dashboard as well, for monitoring the botnet.
I could not build Docker image.
when I run this command
sudo docker build -t hulk .
It gives output
Step 3/5 : RUN apk add --no-cache git && go get -d -v github.com/grafov/hulk && go install github.com/grafov/hulk && rm -rf ~/go/src/github.com/grafov/hulk && apk del git
---> Running in 80f7fdfae834
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/6) Installing brotli-libs (1.0.9-r3)
(2/6) Installing nghttp2-libs (1.42.0-r1)
(3/6) Installing libcurl (7.74.0-r1)
(4/6) Installing expat (2.2.10-r1)
(5/6) Installing pcre2 (10.36-r0)
(6/6) Installing git (2.30.2-r0)
Executing busybox-1.32.1-r5.trigger
OK: 19 MiB in 21 packages
go: downloading github.com/grafov/hulk v0.0.0-20200102085642-96706999f6b1
go install: version is required when current directory is not in a module
Try 'go install github.com/grafov/hulk@latest' to install the latest version
The command '/bin/sh -c apk add --no-cache git && go get -d -v github.com/grafov/hulk && go install github.com/grafov/hulk && rm -rf ~/go/src/github.com/grafov/hulk && apk del git' returned a non-zero code: 1
how to run the script. I use run hulk.go
untild now I got
go run hulk.go
but then I get
0 of max 1023 | 0 | 10008Get http://localhost?TKEGEBGD=EYPAN: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10009Get http://localhost?XOIALQY=BDAJVIGV: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10010Get http://localhost?QCST=WSLQXMC: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10011Get http://localhost?AIYBMQSAQ=DFEOG: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10012Get http://localhost?SKPDWKR=ABXFGFIVF: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10013Get http://localhost?AFAVS=LGMARYG: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10014Get http://localhost?NBWQOCIM=GHPYWHCRT: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10015Get http://localhost?NWKV=IAUPSCYM: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10016Get http://localhost?QVMRYSNM=LDGVLJO: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10017Get http://localhost?MNRD=YOCCAUR: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10018Get http://localhost?WRJF=RGYBG: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10019Get http://localhost?LQPMRU=EOR: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10020Get http://localhost?JKEHSRRC=FUFDUIJW: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10021Get http://localhost?OGJNLUVSL=XVUXHD: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10022Get http://localhost?KTEBAB=TVJQQ: dial tcp [::1]:80: getsockopt: connection refused
0 of max 1023 | 0 | 10023Get http://localhost?YOWNE=UDOSHWS: dial tcp [::1]:80: getsockopt: connection refused^C
A lot of erro while running using python3
Hello,how I can use proxy with hulk.go ? Thanks
It seems hulk tool is missing the handling of socket errors like client resets ECONNRESET (104).
How to update this tool from "python2" to "python3"
╭──[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'
Website is considered to have malware on it :|
the python script is old
Can I Work on it?
When I run the script with my url for example, "hulk.py www.example.com" I get the following error
Traceback (most recent call last):
File "hulk.py", line 150, in
host = m.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Your script works, but if you capture the requests it sends using Wireshark, it says, "Connection: close" instead of "Connection: keep-alive".
The problem is urllib2, they override the Connection header.
Any fix for this? I looked online to try and improve this, but nothing.
I have a problem running under Kali Linux:
./hulk.py: line 10: import: command not found
./hulk.py: line 11: import: command not found
./hulk.py: line 12: import: command not found
./hulk.py: line 13: import: command not found
./hulk.py: line 14: import: command not found
./hulk.py: line 15: $'\r': command not found
./hulk.py: line 24: $'\r': command not found
./hulk.py: line 25: syntax error (' '/hulk.py: line 25:
def inc_counter():
I use python2 hulk.py (site)
But it only says Hulk Atack Started and dont do more nathing please solve this or mensage me :C I need one response fast!! as possible
I tried running hulk.py and Python gave me an error saying:
Traceback (most recent call last): File "hulk.py", line 153, in <module> t.start() File "/usr/lib/python2.7/threading.py", line 736, in start _start_new_thread(self.__bootstrap, ()) thread.error: can't start new thread
Also I am new to Go and wondered how to run hulk.go. Thanks.
File "hulk.py", line 72
print '---------------------------------------------------'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('---------------------------------------------------')?
any solution guys !!
or somthing elso to do
message;
$id = $message->from->id;
$rep = $message->message_id ;
$m = $rep + 1 ;
$chat_id = $message->chat->id;
$from_id = $message->from->id;
$admin = "5967035587" ; //ايدي الادمن
$text = $message->text;
$namee = $update->callback_query->from->first_name;
$user = $message->from->username;
if(isset($update->callback_query)){
$chat_id = $update->callback_query->message->chat->id;
$message_id = $update->callback_query->message->message_id;
$data = $update->callback_query->data;
$user = $update->callback_query->from->username;
}
if($message && $from_id != $admin){
bot('forwardMessage',[
'chat_id'=>$admin,
'from_chat_id'=>$chat_id,
'message_id'=>$rep,
'text'=>$text,
]);
}
$base = file_get_contents("$chat_id");
if($text == "/start" && $base == ''){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"اختر كيف تريد استخدام بحث اليوتيوب ",
'reply_to_message_id'=>$update->message->message_id,
'parse_mode'=>"MARKDOWN",
'reply_markup'=>json_encode([
'inline_keyboard'=>[
[['text'=>'تحميل صوت', 'callback_data'=>"mp3"],['text'=>'تحميل فيديو', 'callback_data'=>"mp4"]],
]
])
]);
}
if($data == 'mp3'){
file_put_contents("$chat_id","mp3");
bot('EditMessageText',[
'chat_id'=>$chat_id,
'message_id'=>$message_id,
'text'=>"ارسل الكلمه للبحث عنها",
'parse_mode'=>"MARKDOWN",
]);
}
if($data == 'mp4'){
file_put_contents("$chat_id","mp4");
bot('EditMessageText',[
'chat_id'=>$chat_id,
'message_id'=>$message_id,
'text'=>"ارسل الكلمه للبحث عنها",
'parse_mode'=>"MARKDOWN",
]);
}
$yy = file_get_contents("$chat_id");
if($text && $yy == 'mp3'){
file_put_contents("$chat_id","");
file_get_contents("https://api.telegram.org/bot$token/sendAnimation?chat_id=$chat_id&animation=https://t.me/youtube7odabot/7951&reply_to_message_id=$rep");
$xx = "http://api.medooo.ml/leomedo/yt?text=$text?token=$token&chat_id=$chat_id&msg_id=$rep&type=mp3";
$ch = curl_init($xx); // such as http://example.com/example.xml
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, 0);
$data = curl_exec($ch);
curl_close($ch);
file_get_contents("https://api.telegram.org/bot$token/deleteMessage?chat_id=$chat_id&message_id=$m");
}
if($text && $yy == 'mp4'){
file_put_contents("$chat_id","");
file_get_contents("https://api.telegram.org/bot$token/sendAnimation?chat_id=$chat_id&animation=https://t.me/youtube7odabot/7951&reply_to_message_id=$rep");
$ytt = "http://api.medooo.ml/leomedo/yt?text=$text?token=$token&chat_id=$chat_id&msg_id=$rep&type=mp4";
$ch = curl_init($ytt); // such as http://example.com/example.xml
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, 0);
$data = curl_exec($ch);
curl_close($ch);
file_get_contents("https://api.telegram.org/bot$token/deleteMessage?chat_id=$chat_id&message_id=$m");
}
if($text == "وش بيقول" or $text == "بيقول اي" or $text == "??" or $text == "؟؟" && isset($update->message->reply_to_message->voice)){
$idd = $update->message->reply_to_message->voice->file_id ;
$ytt = "https://api.medooo.ml/leomedo/voiceRecognise?token=$token&chat_id=$chat_id&file_id=$idd&msg_id=$rep";
$ch = curl_init($ytt); // such as http://example.com/example.xml
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, 0);
$data = curl_exec($ch);
curl_close($ch);
}
~/hulk $ python3 hulk.py
File "/data/data/com.termux/files/home/hulk/hulk.py", line 72
print '---------------------------------------------------'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
PLS HELP THX