Skip to content

Instantly share code, notes, and snippets.

@ril3y
Created October 1, 2018 18:55
Show Gist options
  • Save ril3y/a23eb947851b23f3b73b2d6935df1211 to your computer and use it in GitHub Desktop.
Save ril3y/a23eb947851b23f3b73b2d6935df1211 to your computer and use it in GitHub Desktop.
Small script to take the output of VB Decompiler Pro's Procedure listing and set breakpoints on each location for Ida Pro
"""
Small script to take the output of VB Decompiler Pro's
Procedure listing and set breakpoints on each location
for Ida Pro"""
f = open("C:\\Users\\user\\Desktop\\sample.txt","r")
for line in f.readlines():
if("Address" in line):
break_address = line.rstrip().split(": ")[-1]
print("[!]Adding Breakpoint at 0x"+ str(break_address))
AddBpt(int(break_address,16))
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment