[ddosim]ddos web in backtrack
#11
(03-10-2012, 10:47 PM)bayu freaky13 Wrote: pas MAKE dan MAKE INSTALL kayak gini om :
Code:
ddosim.cpp: In function ‘int main(int, char**)’:
ddosim.cpp:58: error: ‘libnet_host_lookup’ was not declared in this scope
ddosim.cpp:184: error: ‘libnet_host_lookup’ was not declared in this scope
ddosim.cpp: In function ‘u_long getLocalIp(const std::string&, std::string&)’:
ddosim.cpp:292: error: ‘libnet_open_link_interface’ was not declared in this scope
ddosim.cpp:296: error: ‘libnet_get_ipaddr’ was not declared in this scope
ddosim.cpp: In function ‘u_long resolveNameToIp(char*, std::string&)’:
ddosim.cpp:316: error: ‘libnet_name_resolve’ was not declared in this scope
ddosim.cpp:317: error: ‘LIBNET_ERR_FATAL’ was not declared in this scope
ddosim.cpp:317: error: ‘libnet_error’ was not declared in this scope
make: *** [ddosim.o] Error 1
dan DDOSIM nya gak bisa ke install Angry
libnetnya udh di install blm??
<< back|track'ers newbee

#12
sudah omz,,, tapi masih blm bisa install DDOSIM nya Angry

#13
Untuk pengguna backtrack 5 R2 i386

Spoiler! :
Code:
root@eichel:~/Downloads# dpkg -i libnet0_1.0.2a-7_i386.deb
(Reading database ... 266880 files and directories currently installed.)
Preparing to replace libnet0 1.0.2a-7 (using libnet0_1.0.2a-7_i386.deb) ...
Unpacking replacement libnet0 ...
Setting up libnet0 (1.0.2a-7) ...

Processing triggers for libc-bin ...


Spoiler! :
Code:
root@eichel:~/Downloads# dpkg -i libnet0-dev_1.0.2a-7_i386.deb
Selecting previously deselected package libnet0-dev.
(Reading database ... 266880 files and directories currently installed.)
Unpacking libnet0-dev (from libnet0-dev_1.0.2a-7_i386.deb) ...
Setting up libnet0-dev (1.0.2a-7) ...

Processing triggers for man-db ...


Spoiler! :
Code:
root@eichel:~/Downloads/ddosim-0.2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
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 dependency style of gcc... gcc3
checking for pcap_open_live in -lpcap... yes
checking for pthread_mutex_lock in -lpthread... yes
checking for libnet_init_packet in -lnet... yes
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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for strerror... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands


Spoiler! :
Code:
root@eichel:~/Downloads/ddosim-0.2# make
g++ -DPACKAGE_NAME=\"ddosim\" -DPACKAGE_TARNAME=\"ddosim\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ddosim\ 0.2\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE=\"ddosim\" -DVERSION=\"0.2\" -DHAVE_LIBPCAP=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBNET=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. `libnet-config --defines` -Wall -Wno-deprecated -O2    -g -O2 -MT ddosim.o -MD -MP -MF .deps/ddosim.Tpo -c -o ddosim.o ddosim.cpp
mv -f .deps/ddosim.Tpo .deps/ddosim.Po
g++ -DPACKAGE_NAME=\"ddosim\" -DPACKAGE_TARNAME=\"ddosim\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ddosim\ 0.2\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE=\"ddosim\" -DVERSION=\"0.2\" -DHAVE_LIBPCAP=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBNET=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. `libnet-config --defines` -Wall -Wno-deprecated -O2    -g -O2 -MT sniffer.o -MD -MP -MF .deps/sniffer.Tpo -c -o sniffer.o sniffer.cpp
mv -f .deps/sniffer.Tpo .deps/sniffer.Po
g++ -DPACKAGE_NAME=\"ddosim\" -DPACKAGE_TARNAME=\"ddosim\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ddosim\ 0.2\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE=\"ddosim\" -DVERSION=\"0.2\" -DHAVE_LIBPCAP=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBNET=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. `libnet-config --defines` -Wall -Wno-deprecated -O2    -g -O2 -MT senderThread.o -MD -MP -MF .deps/senderThread.Tpo -c -o senderThread.o senderThread.cpp
mv -f .deps/senderThread.Tpo .deps/senderThread.Po
g++ -DPACKAGE_NAME=\"ddosim\" -DPACKAGE_TARNAME=\"ddosim\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ddosim\ 0.2\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE=\"ddosim\" -DVERSION=\"0.2\" -DHAVE_LIBPCAP=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBNET=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. `libnet-config --defines` -Wall -Wno-deprecated -O2    -g -O2 -MT captureThread.o -MD -MP -MF .deps/captureThread.Tpo -c -o captureThread.o captureThread.cpp
mv -f .deps/captureThread.Tpo .deps/captureThread.Po
g++ -DPACKAGE_NAME=\"ddosim\" -DPACKAGE_TARNAME=\"ddosim\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ddosim\ 0.2\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE=\"ddosim\" -DVERSION=\"0.2\" -DHAVE_LIBPCAP=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBNET=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. `libnet-config --defines` -Wall -Wno-deprecated -O2    -g -O2 -MT tcpUtils.o -MD -MP -MF .deps/tcpUtils.Tpo -c -o tcpUtils.o tcpUtils.cpp
mv -f .deps/tcpUtils.Tpo .deps/tcpUtils.Po
g++  -g -O2  -lnet -lpcap -lpthread -o ddosim ddosim.o sniffer.o senderThread.o captureThread.o tcpUtils.o  -lnet -lpthread -lpcap


Spoiler! :
Code:
root@eichel:~/Downloads/ddosim-0.2# make install
make[1]: Entering directory `/root/Downloads/ddosim-0.2'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c 'ddosim' '/usr/local/bin/ddosim'
make[1]: Nothing to be done for `install-data-am'.
make[1]: Leaving directory `/root/Downloads/ddosim-0.2'


Code:
root@eichel:~/Downloads/ddosim-0.2# ddosim

# DDOSIM:  Layer 7 DDoS Simulator v0.2
# Author:  Adrian Furtuna  <[email protected]>

Usage: ddosim
                 -d IP           Target IP address
                 -p PORT         Target port
                [-k NET]         Source IP from class C network (ex. 10.4.4.0)
                [-i IFNAME]      Output interface name
                [-c COUNT]       Number of connections to establish
                [-w DELAY]       Delay (in milliseconds) between SYN packets
                [-r TYPE]        Request to send after TCP 3-way handshake. TYPE can be HTTP_VALID or HTTP_INVALID or SMTP_EHLO
                [-t NRTHREADS]   Number of threads to use when sending packets (default 1)
                [-n]             Do not spoof source address (use local address)
                [-v]             Verbose mode (slower)
                [-h]             Print this help message
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only

#14
punya saya koq gini ya omz??
Code:
Blue@CrimsoN:~/ddosim-0.2# make
g++ -DPACKAGE_NAME=\"ddosim\" -DPACKAGE_TARNAME=\"ddosim\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ddosim\ 0.2\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE=\"ddosim\" -DVERSION=\"0.2\" -DHAVE_LIBPCAP=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBNET=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_INET_NTOA=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. `libnet-config --defines` -Wall -Wno-deprecated -O2    -g -O2 -MT ddosim.o -MD -MP -MF .deps/ddosim.Tpo -c -o ddosim.o ddosim.cpp
ddosim.cpp: In function ‘int main(int, char**)’:
ddosim.cpp:58: error: ‘libnet_host_lookup’ was not declared in this scope
ddosim.cpp:184: error: ‘libnet_host_lookup’ was not declared in this scope
ddosim.cpp: In function ‘u_long getLocalIp(const std::string&, std::string&)’:
ddosim.cpp:292: error: ‘libnet_open_link_interface’ was not declared in this scope
ddosim.cpp:296: error: ‘libnet_get_ipaddr’ was not declared in this scope
ddosim.cpp: In function ‘u_long resolveNameToIp(char*, std::string&)’:
ddosim.cpp:316: error: ‘libnet_name_resolve’ was not declared in this scope
ddosim.cpp:317: error: ‘LIBNET_ERR_FATAL’ was not declared in this scope
ddosim.cpp:317: error: ‘libnet_error’ was not declared in this scope
make: *** [ddosim.o] Error 1
padahal udah instal kedua paket libnet nya,, udah saya coba install dengan libnet1 tapi masih ttep kayak gitu,, saya coba instal ulang paket2 nya juga ttep sama..
need help..
Angry

#15
cara stopnya gimana?
dari hasil praktek pas kirim paket ke satu IP yg diserang, koneksi di LAN jadi lemot semua

#16
kalo stop ya kontrol + jet Tongue
<< back|track'ers newbee

#17
kangmas kalo yang amd64 gimana ??
heuheuheu ...

#18
pilih libnetnya khusus amd64 Tongue
Every Second, Every Minutes, Every Hours, Every Days Its Never End

#19
ini DDOS nya cuma untuk pengguna Eth0 ya ?

#20
(05-11-2012, 01:09 PM)rocketsid Wrote: ini DDOS nya cuma untuk pengguna Eth0 ya ?

mungkin om
Every Second, Every Minutes, Every Hours, Every Days Its Never End






Users browsing this thread: 2 Guest(s)