Advertisement
BlackQuard

Spoofed CentOS 2022

Mar 2nd, 2022
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. Setting it up:
  2.  
  3. After you set up your server (VPS or Dedicated) you're gonna need to do some installing.
  4.  
  5. Basic install perimeters:
  6. 1 - FIRST ALWAYS USE: yum -y update (This updates all modules to the latest)
  7. 2 - sudo yum -y install
  8. 3 - yum -y install
  9.  
  10. The above lines are basically the start of installing new modules.
  11.  
  12. then you need to install basic things like RawIP and thing of that nature.
  13.  
  14. 1. yum -y install cpan
  15.  
  16. 1a. Set cpan to say yes to everything you install (makes it faster):
  17. perl -MCPAN -e 'my $c = "CPAN::HandleConfig"; $c->load(doit => 1, autoconfig => 1); $c->edit(prerequisites_policy => "follow"); $c->edit(build_requires_install_policy => "yes"); $c->commit'
  18.  
  19. then after its installed type cpan and hit enter
  20. then type:
  21.  
  22. 2. cpan <hit enter> install CPAN (this is the new version of cpan and must be done before installing the below dependencies)
  23. 2a. cpan -fi YAML Net::RawIP Net::IP Net::DNS Net:Pcap Net::Pcap::Easy
  24.  
  25. (Note: Alot of the above cpan installs are for scanning amp lists as well. These amp lists are used for more powerful attacks)
  26.  
  27. hit y>Enter for anything that may ask. (This is mainly for the perl scripts like ddos.pl)
  28.  
  29. After thats done you need to Ctrl-C out of it (usually hitting it twice brings u back to the root folder.)
  30.  
  31. Then type:
  32. 3. yum install -y screen dstat gcc php-devel php-pear libssh2 libssh2-devel libpcap libpcap-devel httpd mod_ssl php php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml cpan
  33.  
  34. 4. and followed by:
  35.  
  36. 5. pecl install -f ssh2
  37.  
  38. Hit enter at the autodetect line
  39.  
  40. Followed by:
  41.  
  42. 6. touch /etc/php.d/ssh2.ini
  43. 7. echo extension=ssh2.so > /etc/php.d/ssh2.ini
  44.  
  45. and then restart httpd and check for SSH2:
  46.  
  47. 8. /etc/init.d/httpd restart
  48. 9. php -m | grep ssh2
  49.  
  50. it should reply with the result "ssh2"
  51.  
  52. After thats done you need Apache/PHP if its not already installed (usually it is but just in case)
  53.  
  54. 10. yum -y install httpd mod_ssl
  55. 11. /usr/sbin/apachectl start
  56.  
  57. This will reply with a 127.0.0.1:80 for servername so you want to do this
  58. nano /etc/httpd/conf/httpd.conf
  59. then find
  60. #ServerName www.example.com:80
  61. and change it to
  62. Servername demo
  63. then do
  64. /usr/sbin/apachectl restart
  65.  
  66. 12. set your iptables
  67. iptables -I INPUT -p tcp --dport 80 -j ACCEPT
  68. then save
  69. service iptables save
  70. and restart
  71. service iptables restart
  72.  
  73. 13. starting apache and http when the server is rebooted
  74. /sbin/chkconfig httpd on
  75.  
  76. 14. Installing PHP
  77. yum install php-mysql php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml
  78. then
  79. /usr/sbin/apachectl restart
  80.  
  81. 15. Install gcc
  82. yum -y install gcc
  83. then install dstat
  84. yum -y install dstat
  85.  
  86. 16. Now upload your scripts, compile them with gcc, scan a list or buy one and test it on something/someone.
  87.  
  88. ****************IF ANYTHING COMES UP AS A:READY INSTALLED IGNORE IT AND SKIP TO THE NEXT STEP***************
  89.  
  90. Regards,
  91. -Deadline
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement