miraip0ts

LRAB auto Install

Jan 19th, 2017
1,831
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import subprocess,os,sys,random,time,urllib2,subprocess
  2. #!/usr/bin/env python
  3.  
  4. # syntax: chmod +x *; python lrab.py
  5. # so ur a skid and cant get the lrab dependencies right
  6. # I'm to lazy to implement ubuntu or centos checking
  7. # so why not run everything xdd
  8. # Credits to Drought for making this
  9.  
  10. def run(cmd):
  11.     subprocess.call(cmd, shell=True)
  12.  
  13.    
  14. run("yum update -y")
  15. run("apt-get udpate")
  16. run("yum upgrade -y")
  17. run("apt-get upgrade -y")
  18. run("yum install cpan wget curl glibc.i686 -y")
  19. run("apt-get install cpan wget curl glibc.i686 -y")
  20. run("cpan force install CPAN")
  21. run("cpan force install Parallel::ForkManager")
  22. run("cpan force install IO::Socket")
  23. run("cpan force install IO::Select")
  24. run("yum install gcc php-devel php-pear libssh2 libssh2-devel libpcap -y")
  25. run("apt-get install gcc php-pear php-devel libssh2 libssh2-devel libpcap -y")
  26. run("pecl install -f ssh2")
  27. run("touch /etc/php.d/ssh2.ini")
  28. run("echo extension=ssh2.so > /etc/php.d/ssh2.ini")
  29. run("cpan force install Net::SSH2")
  30. run("ulimit -n 999999")
  31.  
  32.  
  33. print("Done!")   
  34. print("\x1b[0;32mYour WElc0me\x1b[0m")
Advertisement
Add Comment
Please, Sign In to add comment