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 for you skidz having errors on your scan boxes
- # Made specifically for Ubuntu/Debian Based boxes
- # chmod +x ssh2fix.py && python ssh2fix.py
- def run(cmd):
- subprocess.call(cmd, shell=True)
- print ("Updating and installing required packages!")
- 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 There Nigger! Your Scanning Shits Are Fixed! Now Pay A Nigga!\x1b[0m")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement