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

Function start

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

Source from the content-addressed store, hash-verified

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

Callers 1

exploit.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected