MCPcopy Create free account
hub / github.com/Crypto-Cat/CTF / start

Function start

pwn/exploit_education/phoenix/stack/2-stack/exploit.py:6–12  ·  view source on GitHub ↗
(argv=[], *a, **kw)

Source from the content-addressed store, hash-verified

4
5# Allows you to switch between local/GDB/remote from terminal
6def start(argv=[], *a, **kw):
7 if args.GDB: # Set GDBscript below
8 return gdb.debug([exe] + argv, gdbscript=gdbscript, *a, **kw)
9 elif args.REMOTE: # ('server', 'port')
10 return remote(sys.argv[1], sys.argv[2], *a, **kw)
11 else: # Run locally
12 return process([exe] + argv, *a, **kw)
13
14
15# Specify GDB script here (breakpoints etc)

Callers 1

exploit.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected