Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import subprocess
- import os
- import random
- import sys
- import time,urllib2
- #!/usr/bin/env python
- # Simple SSH2 fix and shit idk skids here u go lulz
- # Versions >> Ubuntu/Debian Based OS's
- # chmod +x ssh2fix.py && python ssh2fix.py
- # Created by MrScythe lulz
- def run(cmd):
- subprocess.call(cmd, shell=True)
- print ("First gonna update some shit then install ur depends")
- run("apt-get update && apt-get upgrade -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("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("\x1b[0;35m Done Nigger, Enjoy ur shitting scanning or watev lulz\x1b[0m")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement