View difference between Paste ID: 5uE1ktsy and zTBhnAr1
SHOW: | | - or go back to the newest paste.
1-
import subprocess,os,sys,random,time
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 got chu fam
6+
7-
# drought
7+
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("yum install cpan wget curl glibc.i686 make perl-Time* -y")
19+
run("apt-get install cpan wget curl glibc.i686 -y")
20-
run("apt-get install cpan wget curl glibc.i686 make perl-Time* -y")
20+
21-
run("apt-get install make")
21+
22-
run("yum install make")
22+
23-
run("apt-get install bzip2 -y")
23+
24-
run("yum install bzip2 -y")
24+
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 LWP")
29+
30-
run("cpan URI")
30+
31
32
33
print("Done!")	 
34
print("\x1b[0;32mYour WElc0me\x1b[0m")