Skip to content

Commit

Permalink
Final large commit?
Browse files Browse the repository at this point in the history
- Fix pywintypes install bug (when silent)
- Moved wine folder
- Changed help screen order
- Setup to be silent and forced
- Fix kali non-root user bugs
- Able todo full words rather than letters at prompts
- Able todo capital letters at prompts
- Fix setup dependencies bug
- More verbose during setup.sh
- Changed file permissions not to be 0777!
- List tools on the main menu by default
  • Loading branch information
g0tmi1k committed Apr 3, 2018
1 parent 89dc3a9 commit 94c1a0d
Show file tree
Hide file tree
Showing 6 changed files with 142 additions and 105 deletions.
2 changes: 1 addition & 1 deletion Tools/Evasion/Tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Tools:

def __init__(self, cli_options=None):
self.cli_name = "Evasion"
self.description = "Generates antivirus avoiding executables #avlol"
self.description = "Generates Anti-Virus avoiding executables #avlol"
# Payloads currently within the payload directories
self.active_payloads = {}
# Load all payload modules
Expand Down
82 changes: 42 additions & 40 deletions Veil.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,74 +20,76 @@
'-h', '-?', '--h', '-help', '--help', action="store_true",
help=argparse.SUPPRESS)

veilframework = parser.add_argument_group('Veil Options')
veilframework = parser.add_argument_group('[*] Veil Options')
veilframework.add_argument(
'--update', action='store_true', help='Update the Veil framework.')
'--list-tools', action="store_true", default=False,
help='List Veil\'s tools')
veilframework.add_argument(
'--setup', action='store_true', help='Run\'s the Veil framework setup file & regenerates the configuration.')
'-t', '--tool', metavar='TOOL', default=False,
help='Specify Veil tool to use (Evasion, Ordnance etc.)')
veilframework.add_argument(
'--config', action='store_true', help='Regenerate the Veil framework configuration file.')
'--update', action='store_true', help='Update the Veil framework')
veilframework.add_argument(
'--version', action="store_true", help='Displays version and quits.')
'--setup', action='store_true', help='Run the Veil framework setup file & regenerate the configuration')
veilframework.add_argument(
'--list-tools', action="store_true", default=False,
help='List Veil\'s tools')
'--config', action='store_true', help='Regenerate the Veil framework configuration file')
veilframework.add_argument(
'-t', '--tool', metavar='Veil-Framework', default=False,
help='Specify Veil tool to use')
'--version', action="store_true", help='Displays version and quits')

callback_args = parser.add_argument_group('Callback Settings')
callback_args = parser.add_argument_group('[*] Callback Settings')
callback_args.add_argument(
"--ip", "--domain", metavar="IP Address", default=None,
help="IP Address to connect back to")
"--ip", "--domain", metavar="IP", default=None,
help='IP address to connect back to')
callback_args.add_argument(
'--port', metavar="Port Number", default=8675, type=int,
help="Port number to connect to.")
'--port', metavar="PORT", default=8675, type=int,
help='Port number to connect to')

veilevasion = parser.add_argument_group('Veil-Evasion Options')
veilevasion.add_argument(
'-c', metavar='OPTION1=value OPTION2=value', nargs='*',
default=None, help='Custom payload module options.')
veilevasion.add_argument(
'-o', metavar="OUTPUT NAME", default="payload",
help='Output file base name for source and compiled binaries.')
payload_args = parser.add_argument_group('[*] Payload Settings')
payload_args.add_argument(
'--list-payloads', default=False, action='store_true',
help='Lists all available payloads for that tool')

veilevasion = parser.add_argument_group('[*] Veil-Evasion Options')
veilevasion.add_argument(
'-p', metavar="PAYLOAD", nargs='?', const="list",
help='Payload to generate. Lists payloads if none specified.')
help='Payload to generate')
veilevasion.add_argument(
'--clean', action='store_true',
help='Clean out payload folders.')
'-o', metavar="OUTPUT-NAME", default="payload",
help='Output file base name for source and compiled binaries')
veilevasion.add_argument(
'-c', metavar='OPTION=value', nargs='*',
default=None, help='Custom payload module options')
veilevasion.add_argument(
'--msfoptions', metavar="OPTION=value", nargs='*',
help='Options for the specified metasploit payload.')
help='Options for the specified metasploit payload')
veilevasion.add_argument(
'--msfvenom', metavar="windows/meterpreter/reverse_tcp", nargs='?',
default='windows/meterpreter/reverse_tcp', help='Metasploit shellcode to generate.')
'--msfvenom', metavar="", nargs='?',
default='windows/meterpreter/reverse_tcp', help='Metasploit shellcode to generate (e.g. windows/meterpreter/reverse_tcp etc.)')
veilevasion.add_argument(
'--compiler', metavar="pyinstaller", default='pyinstaller',
help='Compiler option for payload (currently only needed for Python)')
veilevasion.add_argument(
'--clean', action='store_true',
help='Clean out payload folders')

ordnance_shellcode = parser.add_argument_group('Veil-Ordnance Shellcode Options')
ordnance_shellcode = parser.add_argument_group('[*] Veil-Ordnance Shellcode Options')
ordnance_shellcode.add_argument(
"--ordnance-payload", metavar="rev_tcp", default=None,
help="Payload type (bind_tcp, rev_tcp, etc.)")
ordnance_shellcode.add_argument(
'--list-payloads', default=False, action='store_true',
help="Lists all available payloads.")
help='Payload type (bind_tcp, rev_tcp, etc.)')

ordnance_encoder = parser.add_argument_group('Veil-Ordnance Encoder Options')
ordnance_encoder = parser.add_argument_group('[*] Veil-Ordnance Encoder Options')
ordnance_encoder.add_argument(
"-e", "--encoder", metavar="Encoder Name", default=None,
help="Name of Shellcode Encoder to use")
'--list-encoders', default=False, action='store_true',
help='Lists all available encoders')
ordnance_encoder.add_argument(
"-b", "--bad-chars", metavar="\\\\x00\\\\x0a..", default=None,
help="Bad characters to avoid")
"-e", "--encoder", metavar="ENCODER", default=None,
help='Name of shellcode encoder to use')
ordnance_encoder.add_argument(
'--list-encoders', default=False, action='store_true',
help="Lists all available encoders.")
"-b", "--bad-chars", metavar="\\\\x00\\\\x0a..", default=None,
help='Bad characters to avoid')
ordnance_encoder.add_argument(
'--print-stats', default=False, action='store_true',
help="Print information about the encoded shellcode.")
help='Print information about the encoded shellcode')

args = parser.parse_args()

Expand Down
Loading

0 comments on commit 94c1a0d

Please sign in to comment.