markus-go / bonesi Goto Github PK
View Code? Open in Web Editor NEWBoNeSi - the DDoS Botnet Simulator
License: Apache License 2.0
BoNeSi - the DDoS Botnet Simulator
License: Apache License 2.0
What steps will reproduce the problem?
1. I'm running bonesi using the following command in my lab setup:
# bonesi -i russkill2_bots.txt -p tcp -r 1 -o bonesi_stats_33_0.txt -c 1 -b
russkill2_user-agents1.txt -d eth1 -v 3.0.21.12:80
I have one client:
# cat russkill2_bots.txt
3.0.21.6
and there are 111 different user-agent values in russkill2_user-agents1.txt
bonesi is sending a SYN and receives SYN/ACK from the victim server
(3.0.12:12). what happens next is strange. bonesi is sending a RST soon after
it receives SYN/ACK (and before sending the final ACK):
3.0.21.6:34270 sends SYN to 3.0.21.12:80
3.0.21.12:80 sends SYN, ACK
3.0.21.6:34270 sends RST
3.0.21.6:34270 sends ACK
Because of the RST, the victim server also responds with a RST. Hence the
server doesn't even get a chance to respond to HTTP flood.
What is the expected output? What do you see instead?
I expect that benesi send an ACK to complete the handshake (in packet #3) and
not RST.
What version of the product are you using? On what operating system?
bonesi-0.1.1;
OS: CentOS release 5.3 (Final)
# uname -rv
2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:39:21 EDT 2009
Any clue greatly appreciated!
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 Mar 2011 at 9:38
Making install in src
make[1]: Entering directory /home/user/contiki/examples/ipv6/bonesi-master/src' make[2]: Entering directory
/home/user/contiki/examples/ipv6/bonesi-master/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c bonesi '/usr/local/bin'
/usr/bin/install: cannot create regular file /usr/local/bin/bonesi': Permission denied make[2]: *** [install-binPROGRAMS] Error 1 make[2]: Leaving directory
/home/user/contiki/examples/ipv6/bonesi-master/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/user/contiki/examples/ipv6/bonesi-master/src'
make: *** [install-recursive] Error 1
please help me solving this
What steps will reproduce the problem?
1.Running the tool
2.without a URL or URL list
What is the expected output? What do you see instead?
I don't expect the tool to constantly request google.de
What version of the product are you using? On what operating system?
Latest
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 10 Jul 2012 at 4:38
Attachments:
Will Bonesi Support IPv6 Address Spoofing?
What steps will reproduce the problem?
1.the destination can easily identify the attacks are happening from same
system by identifying hardware address of source.
2. it can be mitigated easily...
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Feb 2014 at 8:20
What steps will reproduce the problem?
1.when i run bonesi (ver. 2.00) it has been killed automatically
#root@: bonesi
Killed!
Could you help me, please.
Original issue reported on code.google.com by [email protected]
on 1 Aug 2012 at 4:31
libnet_init() failed: libnet_open_raw4(): SOCK_RAW allocation failed: Operation not permitted
i dont now how to fix it
Hello,
I'm stuck with the installation process, the error messages are the following:
~/bonesi$ make install
Making install in src
make[1]: Entering directory '/home/beny/bonesi/src'
make[2]: Entering directory '/home/beny/bonesi/src'
/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c bonesi '/usr/local/bin'
/usr/bin/install: cannot create regular file '/usr/local/bin/bonesi': Permission denied
Makefile:285: recipe for target 'install-binPROGRAMS' failed
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory '/home/beny/bonesi/src'
Makefile:448: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/beny/bonesi/src'
Makefile:354: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
Please help, thanks
EDIT: Solved this issue by using sudo make install
What steps will reproduce the problem?
1. bonesi -i /bonesi/10ip.txt -u http://192.168.1.2/joomla -p tcp - r 2000 -d
eth0 192.168.1.2:80
I used the above command to generate a tcp syn connection to a website hosted
in the victim machine.I am only seeing syn packets and not receiving an ack
packet
THe 10ip.txt has got 10 random ip address.
What is the expected output? What do you see instead?
The expected output is that the ack shuld come back to bonesi which is not
happening.
What version of the product are you using? On what operating system?
I am using bonesi 0.1 on Ubuntu 11.04
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 Aug 2011 at 12:45
Sir is it possible to change MAC address with every TCP-SYN request to a
machine?
Because otherwise suppose I issued the below command:
sudo bonesi -i 50k-bots -u http://192.168.1.220 -p tcp -r 20 -o
bonesi_stats.txt -c 200 -b browserlist.txt -d eth0 -v 192.168.1.220:80
Then machine 192.168.1.220 will came to know that TCP-SYN request are generated
from same MAC address(i.e. same machine) and it can block that MAC address.
So sir my question is whether is it possible to change MAC address in every
request.
Thanx
Original issue reported on code.google.com by [email protected]
on 3 Feb 2012 at 5:17
Hey,
I was working on a Kali install script for use in our test lab to automate grabbing the dependencies, installing them, installing this tool, and then cleaning up after the install. You can check the completed one out here:
https://github.com/kkirsche/install-BoNeSi
My question though, do you have interest in me expanding this to include support for ubuntu, centos, rhel, etc. so that you can provide/use a simple install script instead of having to figure out what dependencies this needs based on the errors it throws when either configuring or making?
If so, let me know and I'll expand it for other OS's and then submit a pull request to this repo.
What steps will reproduce the problem?
1. ./configure
2. make then the error attached
3.
What is the expected output? What do you see instead?
I was expecting it to make without problem after a successful ./configure
What version of the product are you using? On what operating system?
downloaded on march 19th
Please provide any additional information below.
file attached
Original issue reported on code.google.com by [email protected]
on 19 Mar 2009 at 6:06
Attachments:
Good time of day.
I want to suggest you add the use of random ports.
The fact that the use of only one port, it is somehow not very effective for testing, you need to have a random order.
Example:
tcp 127.0.0.1:80 (only 1 port)
udp 127.0.0.1:80 (only 1 port)
icmp 127.0.0.1:80 (only 1 port) <-- in this Protocol, the ports are not even used, it is necessary to somehow remove all... because if you remove the port from icmp, the script gives an error
To implement this:
tcp 127.0.0.1:+ (use random ports)
udp 127.0.0.1:+ (use random ports)
icmp 127.0.0.1 (no port)
where "+" - random ports on each IP port, or using in order from 0 to 65535
trying to take down my own website hosted on glitch, it seems to just slow me down while not touching the website, anyone know why?
What steps will reproduce the problem?
1. Bonesi compiled in a Fedora 15 (64bit)
2. Run with "bonesi -i 50k-bots -d eth0 -l oneDayURL-urlfile.txt -p tcp
www.example.org:80"
After some time (seconds) I get:
Can't send IP packet: libnet_write_raw_ipv4(): -1 bytes written (Operation not
permitted)
I'm running as root.
What version of the product are you using? On what operating system?
Bonesi version 1.1 or 2.0
Linux dos1 2.6.41.1-1.fc15.x86_64 #1 SMP Fri Nov 11 21:36:28 UTC 2011 x86_64
x86_64 x86_64 GNU/Linux
Original issue reported on code.google.com by [email protected]
on 6 Feb 2012 at 10:21
[http.h:53]: (warning) scanf without field width limits can crash with huge input data.
fscanf(file, "%s\n", buffer);
Suggest add number into %s.
[http.h:54]: (warning) scanf without field width limits can crash with huge input data.
[http.h:76]: (warning) scanf without field width limits can crash with huge input data.
Duplicates.
configure: error: header missing
config.status: error: invalid argument: `config.h'
Makefile:337: *** missing separator. Stop.
when i use this command -
bonesi -ptcp -deth2 -uhttp://192.168.1.91/index.php -v -r100 -t10 -c1000
192.168.1.91:80
i get this output...
bonesi -ptcp -deth2 -uhttp://192.168.1.91/index.php -v -r10 -t10 -c10
192.168.1.91:80
Warning: There is noch File with useragent names! The user-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8) Gecko/20071004
Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
will be used.
dstIp: 192.168.1.91
dstPort: 80
protocol: 6
payloadSize: 32
rate: 10
ips: (null)
urls: (null)
useragents:: (null)
stats file: stats
maxPackets: 10
format: dotted
toggle: yes: max 10 bots
Size of url array: 1
192.168.1.91/index.php
Number of Useragents: 1
Useragent[0]: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8)
Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
GET /index.php HTTP/1.0
Host: 192.168.1.91
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8)
Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: close
GET /index.php HTTP/1.0
Host: 192.168.1.91
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8)
Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: close
GET /index.php HTTP/1.0
Host: 192.168.1.91
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8)
Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: close
GET /index.php HTTP/1.0
Host: 192.168.1.91
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8)
Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: close
GET /index.php HTTP/1.0
Host: 192.168.1.91
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8)
Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: close
*** glibc detected *** bonesi: free(): invalid pointer: 0x00000000006064c0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f1ede33acb8]
/lib/libc.so.6(cfree+0x76)[0x7f1ede33d276]
bonesi[0x403fb2]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f1ede2e15a6]
bonesi[0x4019b9]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:02 108342
/usr/local/bin/bonesi
00605000-00606000 r--p 00005000 08:02 108342
/usr/local/bin/bonesi
00606000-00607000 rw-p 00006000 08:02 108342
/usr/local/bin/bonesi
00607000-18608000 rw-p 00607000 00:00 0
18722000-18743000 rw-p 18722000 00:00 0
[heap]
7f1ed8000000-7f1ed8021000 rw-p 7f1ed8000000 00:00 0
7f1ed8021000-7f1edc000000 ---p 7f1ed8021000 00:00 0
7f1edd4b2000-7f1edd4c8000 r-xp 00000000 08:02 2408
/lib/libgcc_s.so.1
7f1edd4c8000-7f1edd6c8000 ---p 00016000 08:02 2408
/lib/libgcc_s.so.1
7f1edd6c8000-7f1edd6c9000 r--p 00016000 08:02 2408
/lib/libgcc_s.so.1
7f1edd6c9000-7f1edd6ca000 rw-p 00017000 08:02 2408
/lib/libgcc_s.so.1
7f1edd6ca000-7f1eddac2000 rw-s 00000000 00:04 71562
socket:[71562]
7f1eddac2000-7f1eddac3000 ---p 7f1eddac2000 00:00 0
7f1eddac3000-7f1ede2c3000 rw-p 7f1eddac3000 00:00 0
7f1ede2c3000-7f1ede42b000 r-xp 00000000 08:02 2386
/lib/libc-2.9.so
7f1ede42b000-7f1ede62b000 ---p 00168000 08:02 2386
/lib/libc-2.9.so
7f1ede62b000-7f1ede62f000 r--p 00168000 08:02 2386
/lib/libc-2.9.so
7f1ede62f000-7f1ede630000 rw-p 0016c000 08:02 2386
/lib/libc-2.9.so
7f1ede630000-7f1ede635000 rw-p 7f1ede630000 00:00 0
7f1ede635000-7f1ede667000 r-xp 00000000 08:02 9574
/usr/lib/libpcap.so.1.0.0
7f1ede667000-7f1ede867000 ---p 00032000 08:02 9574
/usr/lib/libpcap.so.1.0.0
7f1ede867000-7f1ede868000 r--p 00032000 08:02 9574
/usr/lib/libpcap.so.1.0.0
7f1ede868000-7f1ede869000 rw-p 00033000 08:02 9574
/usr/lib/libpcap.so.1.0.0
7f1ede869000-7f1ede86a000 rw-p 7f1ede869000 00:00 0
7f1ede86a000-7f1ede881000 r-xp 00000000 08:02 2464
/lib/libpthread-2.9.so
7f1ede881000-7f1edea80000 ---p 00017000 08:02 2464
/lib/libpthread-2.9.so
7f1edea80000-7f1edea81000 r--p 00016000 08:02 2464
/lib/libpthread-2.9.so
7f1edea81000-7f1edea82000 rw-p 00017000 08:02 2464
/lib/libpthread-2.9.so
7f1edea82000-7f1edea86000 rw-p 7f1edea82000 00:00 0
7f1edea86000-7f1edea9c000 r-xp 00000000 08:02 3430218
/usr/lib/libnet.so.1.3.0
7f1edea9c000-7f1edec9b000 ---p 00016000 08:02 3430218
/usr/lib/libnet.so.1.3.0
7f1edec9b000-7f1edec9c000 r--p 00015000 08:02 3430218
/usr/lib/libnet.so.1.3.0
7f1edec9c000-7f1edec9d000 rw-p 00016000 08:02 3430218
/usr/lib/libnet.so.1.3.0
7f1edec9d000-7f1edec9f000 rw-p 7f1edec9d000 00:00 0
7f1edec9f000-7f1edecbf000 r-xp 00000000 08:02 2366
/lib/ld-2.9.so
7f1edee99000-7f1edee9c000 rw-p 7f1edee99000 00:00 0
7f1edeeba000-7f1edeebe000 rw-p 7f1edeeba000 00:00 0
7f1edeebe000-7f1edeebf000 r--p 0001f000 08:02 2366
/lib/ld-2.9.so
7f1edeebf000-7f1edeec0000 rw-p 00020000 08:02 2366
/lib/ld-2.9.so
7fffe6eaa000-7fffe6ebf000 rw-p 7ffffffea000 00:00 0
[stack]
7fffe6ffe000-7fffe6fff000 r-xp 7fffe6ffe000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Aborted
works fine when i check with wget....
Original issue reported on code.google.com by [email protected]
on 19 Sep 2009 at 4:38
Hello,
I would like to simulate reflection/amplification attacks but in order to do so, I would need to set a static source port. This would allow bonesi to simulate the reflection traffic. Would this be possible to add to the code?
thanks
Eric
bonesi -i ip.txt -p udp xx.xx.xx.xx:80
Warning: There is noch File with useragent names! The user-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8) Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
will be used.
dstIp: xx.xx.xx.xx
dstPort: 80
protocol: 17
payloadSize: 32
rate: infinite
ips: ip.txt
urls: (null)
useragents:: (null)
stats file: stats
maxPackets: infinite
format: dotted
toggle: no
reading file...done
Can't send IP packet: libnet_write_raw_ipv4(): -1 bytes written (Operation not
permitted)
Original issue reported on code.google.com by [email protected]
on 4 Aug 2012 at 5:16
Hello. How can I use all cores in Linux for optimizing packet generation?
CPU:2xIntel(R) Xeon(R) CPU E5620 @ 2.40GHz
PREMIUM NETWORK: 100 mb/s
129583 packets in 1.000517 seconds too slow...
Original issue reported on code.google.com by [email protected]
on 12 Dec 2012 at 9:40
Hello how can I start get flood attack ? can you write example code ?
Original issue reported on code.google.com by [email protected]
on 19 Aug 2012 at 3:44
Hi, folks. I'm using the latest version of bonesi. Is it possible to setting
the cookies to bonesi configuration? Because remote site using cookie
protection. First of all the webserver redirects all queries to anti-ddos
script, after that it allows normal queries.So how can I take down this anti
ddos technique ?
Original issue reported on code.google.com by [email protected]
on 17 Jul 2013 at 12:06
Error while installing bonesi in ubuntu 11.04
amandeep@amandeep-VirtualBox:~/Desktop/bonesi/trunk$ make install
cd . && aclocal-1.10
/bin/bash: aclocal-1.10: command not found
make: *** [aclocal.m4] Error 127
Please help..
Original issue reported on code.google.com by [email protected]
on 10 Oct 2011 at 3:36
Hello. I got new server for testing bonesi 2.0.0 unfortunately unsuccessful
result.
bonesi -i 50k-bots IP:80
This is my /etc/sysctl.conf configuration :
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
fs.file-max = 65535
Theirs no iptables, no firewalls etc. How can I bypass ? Is it possible to my
DataCenter blocks SYN or ICMP packets? If yes, how can I tell him for unblock
these types of packets? Thank you very much!
Original issue reported on code.google.com by [email protected]
on 6 Dec 2012 at 9:57
Hello ~
I see it has a dependency on libnet and pcap headers.
Is there a possibility to run in Tizen or Windows machines?
Thanks,
Mallikarjun
amandeep@amandeep-HP-G42-Notebook-PC:~/Desktop/Test/bonesi/trunk$ sudo bonesi
50k-bots -p tcp -r 2 -o bonesi_stats.txt -c 10 -b browserlist.txt -d eth0 -v
192.168.1.220:80
dstIp: 192.168.1.220
dstPort: 80
protocol: 6
payloadSize: 32
rate: 2
ips: 50k-bots
urls: (null)
useragents:: browserlist.txt
stats file: bonesi_stats.txt
maxPackets: 10
format: dotted
toggle: no
reading file...done
Size of url array: 1
www.google.de/
reading user agents file...done
Number of Useragents: 17
Useragent[0]: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.8)
Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-Oetch1)
Useragent[1]: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.1)
Gecko/20060111 Firefox/1.5.0.1
Useragent[2]: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Useragent[3]: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
1.1.4322)
Useragent[4]: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
{1C69E7AA-C14E-200E-5A77-8EAB2D667A07})
Useragent[5]: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; acc=baadshah;
acc=none; freenet DSL 1.1; (none))
Useragent[6]: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
Useragent[7]: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.51
Useragent[8]: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1)
Gecko/20060111 Firefox/1.5.0.1
Useragent[9]: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
snprtz|S26320700000083|2600#Service Pack 1#2#5#154321|isdn)
Useragent[10]: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Alexa
Toolbar; mxie; .NET CLR 1.1.4322)
Useragent[11]: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; fr-FR; rv:1.7.8)
Gecko/20050511 Firefox/1.0.4
Useragent[12]: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; ja-jp)
AppleWebKit/417.9 (KHTML, like Gecko) Safari/417.8
Useragent[13]: Opera/9.00 (Windows NT 5.1; U; en)
Useragent[14]: Mozilla/3.01 (compatible;)
Useragent[15]: Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv:1.7.12)
Gecko/20050919 Firefox/1.0.7
Useragent[16]: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12)
Gecko/20051010 Firefox/1.0.7 (Ubuntu package 1.0.7)
2 requests in 1.000307 seconds
0 finished correctly
0 resets received
2 requests in 1.000251 seconds
0 finished correctly
0 resets received
2 requests in 1.000280 seconds
0 finished correctly
0 resets received
2 requests in 1.000257 seconds
0 finished correctly
0 resets received
2 requests in 1.000265 seconds
0 finished correctly
0 resets received
10 requests sent
Why there is '0 finished correctly and 0 resets received'
Please help..
Original issue reported on code.google.com by [email protected]
on 15 Oct 2011 at 1:48
Can you please update the package to support automake 1.15 so I can run the tool on ubuntu 16.04 please?
Below is the failure message I receive.
:~/bonesi$ make
cd . && automake-1.14 --foreign
/bin/bash: line 4: automake-1.14: command not found
Makefile:289: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1
Here is the version of automake i have installed.
$ dpkg -l |grep automake
ii automake 1:1.15-4ubuntu1 all Tool for generating GNU Standards-compliant Makefiles
thanks,
Eric
Hi,
Is there a plan to make the code multi-threaded to allow for more pps to be generated?
thanks,
Eric
bonesi make error.
amandeep@amandeep-HP-G42-Notebook-PC:~/Desktop/Test/bonesi/trunk$ make
cd . && /bin/bash ./config.status config.h
config.status: error: invalid argument: `config.h'
make: *** [stamp-h1] Error 1
Please help
Original issue reported on code.google.com by [email protected]
on 14 Oct 2011 at 1:56
How do I go about generating different traffic rates?
If i have to generate 10, 20, 30 MB/s of data volume, what parameters should I use? Should I experiment with trial and error? Or there's a way to find the needed value and options.
Thanks in advance
checking for pcap_open_live in -lpcap... no
checking for pthread_create in -lpthread... yes
checking for libnet_init in -lnet... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pcap.h usability... no
checking pcap.h presence... no
checking for pcap.h... no
configure: error: header missing
i have already install the libnet and libpcap1.4, but it wont work, help me plz
Good time of day.
Tell me Markus, can you make me a file bonesi.c with the following features:
When i do a ./configure to install the program, it gaves me a error ''header missing'', what can i do?
Hello,
I can run the default bonesi, however I can't run it by using the 50k-bots file, I keep getting error
File 50k-bots could not be opened.
I'm using ubuntu 16.04 as a guest OS inside my VB 5.2.4, my host OS is Windows 10.
The command I'm using is the following:
sudo ./bonesi -i 50k-bots ip:port
Please help me resolve this issue. Thanks.
Hello my friend thank your answer my question but I dont found MAN file to
example can you write here to me how is the start get flood please write
examples. How Can I do ? Thank you.
Original issue reported on code.google.com by [email protected]
on 21 Aug 2012 at 7:17
Hi,
I've just tested bonesi lastest on my machines (CentOS_6.4_x64), 150.000pps is
amazing number.
But it seems, the libpcap missed too much packets when sniffing in procious
mode to finish all complete http requests.
The complete http request cant reach 4000req/s;
This is the output of stats file
### -r 1000 ###
-4 1000 929
-3 1000 923
-2 1000 937
-1 1000 930
0 1000 924
### -r 4000 ###
-4 4000 2729
-3 4000 2563
-2 4000 2481
-1 4000 2952
0 4000 2758
### -r 10000 ###
-4 10000 2944
-3 10000 3059
-2 10000 3032
-1 10000 2821
0 10000 2986
### -r 50000 ###
-4 50000 1636
-3 49998 1735
-2 50000 1474
-1 49999 1655
0 50000 1641
### my command ###
./bin/bonesi -i ./50k-bots -p tcp -b ./browserlist.txt -d em2 -v
192.168.3.56:80 -r 10000
How can we increase the http request performance
Tks n Rgds,
Original issue reported on code.google.com by [email protected]
on 10 Aug 2014 at 8:35
We can find next code in bonesi -> tcpoptions.h. Could please somebody tell my What this code means:
memcpy(tcpOptions[1].options,
"\002\004\005\264\001\003\003\000\001\001\010\012\000\165\012\042\000\000\000\000",
// 02 04 05 b4 01 03 03 00 01 01
// 08 0a 00 75 0a 22 00 00 00 00
tcpOptions[1].length);
I don't get why is puting those octal numbers in the array. Below add more code just for context (complete code in tcpoptions.h)
tcpOptions[1].prob = 0.46f / 3.f;
tcpOptions[1].length = 20;
tcpOptions[1].options = (u_int8_t*)malloc(tcpOptions[1].length);
memcpy(tcpOptions[1].options,
"\002\004\005\264\001\003\003\000\001\001\010\012\000\165\012\042\000\000\000\000",
// 02 04 05 b4 01 03 03 00 01 01
// 08 0a 00 75 0a 22 00 00 00 00
tcpOptions[1].length);
tcpOptions[2].prob = 0.46f / 3.f;
tcpOptions[2].length = 20;
tcpOptions[2].options = (u_int8_t*)malloc(tcpOptions[2].length);
memcpy(tcpOptions[2].options,
"\002\004\005\226\004\002\010\012\155\264\137\256\000\000\000\000\001\003\003\000",
// 02 04 05 96 04 02 08 0a 6d b4
// 5f ae 00 00 00 00 01 03 03 00
tcpOptions[2].length
.......
........
Thanks in advanced.
What steps will reproduce the problem?
1../configure
2.
3.
What is the expected output? What do you see instead?
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/*/Desktop/Tools/bonesi-0.1.1/missing: Unknown `--run' option
Try `/home/mai/Desktop/Tools/bonesi-0.1.1/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for pcap_open_live in -lpcap... yes
checking for pthread_create in -lpthread... yes
checking for libnet_init in -lnet... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking libnet.h usability... no
checking libnet.h presence... no
checking for libnet.h... no
configure: error: header missing
What version of the product are you using? On what operating system?
bonesi-0.1.1 on Fedora 10
Please provide any additional information below.
I have libnet and libcap installed, but I cant install libnet-dev
Original issue reported on code.google.com by [email protected]
on 14 Nov 2011 at 12:25
Have used bonesi on ubuntu 16.04 and other OS ok.
When trying to use on Ubuntu 20.04 server , bonesi does not normally answer syn acks coming back from victim when attacking with http.
Resets not sent either.
Looks like bonesi is listening , but bunching up the replies or just doing nothing.
OS: ubuntu server 14.04
Probem
cd . && automake-1.14 --foreign
configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.ac:6: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
Fix
--- /opt/BoNeSi/configure.ac 2016-01-21 12:55:17.328208650 +0200
+++ tmp/configure.ac 2016-01-21 12:58:59.936204037 +0200
@@ -2,10 +2,10 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT(BoNeSi, 0.1.1, [email protected])
-AM_INIT_AUTOMAKE(bonesi, 0.1.1)
+AC_INIT([bonesi], [0.1.1], [[email protected]])
AC_OUTPUT(Makefile src/Makefile man/Makefile)
-AC_CONFIG_SRCDIR(src/bonesi.c)
+AC_CONFIG_SRCDIR([src/bonesi.c])
+AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������```
bonesi -i ips.txt -p icmp -l url.txt -b ua.txt xxx.xx:80
dstIp: xx.xx.xx.xx
dstPort: 80
protocol: 1
payloadSize: 32
rate: infinite
ips: ips.txt
urls: url.txt
useragents:: ua.txt
stats file: stats
maxPackets: infinite
format: dotted
toggle: no
reading file...*** glibc detected *** bonesi: corrupted double-linked list:
0x00000000218742b0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x354ca753c6]
/lib64/libc.so.6[0x354ca781e1]
/lib64/libc.so.6(fclose+0x14d)[0x354ca65b3d]
bonesi[0x402a76]
bonesi[0x402f61]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x354ca1ecdd]
bonesi[0x401a09]
======= Memory map: ========
00400000-0040e000 r-xp 00000000 fd:00 14030408
/usr/local/bin/bonesi
0060e000-0060f000 rw-p 0000e000 fd:00 14030408
/usr/local/bin/bonesi
0060f000-20612000 rw-p 00000000 00:00 0
21872000-218d5000 rw-p 00000000 00:00 0 [heap]
354c200000-354c220000 r-xp 00000000 fd:00 786446
/lib64/ld-2.12.so
354c41f000-354c420000 r--p 0001f000 fd:00 786446
/lib64/ld-2.12.so
354c420000-354c421000 rw-p 00020000 fd:00 786446
/lib64/ld-2.12.so
354c421000-354c422000 rw-p 00000000 00:00 0
354ca00000-354cb89000 r-xp 00000000 fd:00 786450
/lib64/libc-2.12.so
354cb89000-354cd88000 ---p 00189000 fd:00 786450
/lib64/libc-2.12.so
354cd88000-354cd8c000 r--p 00188000 fd:00 786450
/lib64/libc-2.12.so
354cd8c000-354cd8d000 rw-p 0018c000 fd:00 786450
/lib64/libc-2.12.so
354cd8d000-354cd92000 rw-p 00000000 00:00 0
354ce00000-354ce17000 r-xp 00000000 fd:00 786502
/lib64/libpthread-2.12.so
354ce17000-354d017000 ---p 00017000 fd:00 786502
/lib64/libpthread-2.12.so
354d017000-354d018000 r--p 00017000 fd:00 786502
/lib64/libpthread-2.12.so
354d018000-354d019000 rw-p 00018000 fd:00 786502
/lib64/libpthread-2.12.so
354d019000-354d01d000 rw-p 00000000 00:00 0
354e200000-354e235000 r-xp 00000000 fd:00 14030464
/usr/lib64/libpcap.so.1.0.0
354e235000-354e434000 ---p 00035000 fd:00 14030464
/usr/lib64/libpcap.so.1.0.0
354e434000-354e437000 rw-p 00034000 fd:00 14030464
/usr/lib64/libpcap.so.1.0.0
354e600000-354e616000 r-xp 00000000 fd:00 789027
/lib64/libgcc_s-4.4.6-20120305.so.1
354e616000-354e815000 ---p 00016000 fd:00 789027
/lib64/libgcc_s-4.4.6-20120305.so.1
354e815000-354e816000 rw-p 00015000 fd:00 789027
/lib64/libgcc_s-4.4.6-20120305.so.1
354ea00000-354ea16000 r-xp 00000000 fd:00 786792
/lib64/libresolv-2.12.so
354ea16000-354ec16000 ---p 00016000 fd:00 786792
/lib64/libresolv-2.12.so
354ec16000-354ec17000 r--p 00016000 fd:00 786792
/lib64/libresolv-2.12.so
354ec17000-354ec18000 rw-p 00017000 fd:00 786792
/lib64/libresolv-2.12.so
354ec18000-354ec1a000 rw-p 00000000 00:00 0
7f8550154000-7f8550159000 r-xp 00000000 fd:00 786459
/lib64/libnss_dns-2.12.so
7f8550159000-7f8550358000 ---p 00005000 fd:00 786459
/lib64/libnss_dns-2.12.so
7f8550358000-7f8550359000 r--p 00004000 fd:00 786459
/lib64/libnss_dns-2.12.so
7f8550359000-7f855035a000 rw-p 00005000 fd:00 786459
/lib64/libnss_dns-2.12.so
7f855035a000-7f8550366000 r-xp 00000000 fd:00 786461
/lib64/libnss_files-2.12.so
7f8550366000-7f8550566000 ---p 0000c000 fd:00 786461
/lib64/libnss_files-2.12.so
7f8550566000-7f8550567000 r--p 0000c000 fd:00 786461
/lib64/libnss_files-2.12.so
7f8550567000-7f8550568000 rw-p 0000d000 fd:00 786461
/lib64/libnss_files-2.12.so
7f8550568000-7f855056b000 rw-p 00000000 00:00 0
7f8550570000-7f8550573000 rw-p 00000000 00:00 0
7fff6e1c4000-7fff6e1d9000 rw-p 00000000 00:00 0 [stack]
7fff6e1ff000-7fff6e200000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
Aborted (core dumped)
Original issue reported on code.google.com by [email protected]
on 30 Jul 2012 at 7:06
Any plans for including TLS support for HTTP requests
What steps will reproduce the problem?
1. Install bonesi-0.2.0 on ubuntu 12.04
2. isolated network where the victim's IP address is 192.168.2.76 and attacker
is on 192.168.2.1. Victim machine's gateway is configured to be 192.168.2.1
3. Run the following command. Local 2 only has the IP 192.168.2.1
bonesi -p tcp -r 8000 -i local2 -u /index.html -d eth0 192.168.2.76:80
What is the expected output? What do you see instead?
Expected output is
Output should indicate n finished correctly (where n is the number of requests)
Output displayed after running the command.
1380000 port search iterations
1390000 port search iterations
1400000 port search iterations
1410000 port search iterations
1420000 port search iterations
1430000 port search iterations
1440000 port search iterations
1450000 port search iterations
1460000 port search iterations
1470000 port search iterations
1480000 port search iterations
1490000 port search iterations
1500000 port search iterations
1510000 port search iterations
1520000 port search iterations
1530000 port search iterations
1540000 port search iterations
18601 requests in 1.000083 seconds
0 finished correctly
28859 resets received
What version of the product are you using? On what operating system?
Attacker - Ubuntu 12.04 / bonesi 0.2.0
Victim - BackTrack 4 / apache2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 21 May 2012 at 5:35
Hi, pls, how to install bonesi on linux, the link for the file download is not working
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.