Skip to content

Commit

Permalink
update burpTracer
Browse files Browse the repository at this point in the history
  • Loading branch information
noobpk committed Sep 13, 2023
1 parent 2c0cc1b commit 990db9d
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions burpTracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
| | |__| |____) | _| |_| | | | || __/ | | (_| __/ |_) | |_
|_|\____/|_____/ |_____|_| |_|\__\___|_| \___\___| .__/ \__|
https://noobpk.github.io #noobteam | |
Intercept Api in iOS Application |_|
Intercept Api in iOS/Android Application |_|
''')

print ("\033[1;34m[*]___author___: @noobpk\033[1;37m")
Expand Down Expand Up @@ -113,38 +113,6 @@ def frida_process_message(message, data):
args, leftovers = parser.parse_known_args()

try:
#Spawning application with default script
if args.package is not None and args.script is None:
#check echoServer
check_echo_server()
#
logger.info('[*] Spawning: ' + args.package)
logger.info('[*] Script: ' + 'handlers.js')
time.sleep(2)
device = frida.get_usb_device()
pid = device.spawn(args.package)
device.resume(pid)
time.sleep(1)
session = device.attach(pid)
with open("handlers.js") as f:
script = session.create_script(f.read())
script.on("message", frida_process_message)
script.load()
input()
#Attaching default script to application
if args.name is not None and args.script is None:
#check echoServer
check_echo_server()
#
logger.info('[*] Attaching: ' + args.name)
logger.info('[*] Script: ' + 'handlers.js')
time.sleep(2)
process = frida.get_usb_device().attach(args.name)
with open("handlers.js") as f:
script = process.create_script(f.read())
script.on("message", frida_process_message)
script.load()
input()
# Spawing application with custom script
if args.package is not None and args.script is not None:
#check echoServer
Expand Down

0 comments on commit 990db9d

Please sign in to comment.