Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import subprocess,os,sys,random,time,urllib2,subprocess
- #!/usr/bin/env python
- # syntax: chmod +x *; python lrab.py
- # so ur a skid and cant get the lrab dependencies right
- # I'm to lazy to implement ubuntu or centos checking
- # so why not run everything xdd
- # Credits to Drought for making this
- def run(cmd):
- subprocess.call(cmd, shell=True)
- run("yum update -y")
- run("apt-get udpate")
- run("yum upgrade -y")
- run("apt-get upgrade -y")
- run("yum install cpan wget curl glibc.i686 -y")
- run("apt-get install cpan wget curl glibc.i686 -y")
- run("cpan force install CPAN")
- run("cpan force install Parallel::ForkManager")
- run("cpan force install IO::Socket")
- run("cpan force install IO::Select")
- run("yum install gcc php-devel php-pear libssh2 libssh2-devel libpcap -y")
- run("apt-get install gcc php-pear php-devel libssh2 libssh2-devel libpcap -y")
- run("pecl install -f ssh2")
- run("touch /etc/php.d/ssh2.ini")
- run("echo extension=ssh2.so > /etc/php.d/ssh2.ini")
- run("cpan force install Net::SSH2")
- run("ulimit -n 999999")
- print("Done!")
- print("\x1b[0;32mYour WElc0me\x1b[0m")
Advertisement
Add Comment
Please, Sign In to add comment