Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-07-2022, 11:08
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 358
Rept. Given: 143
Rept. Rcvd 24 Times in 13 Posts
Thanks Given: 196
Thanks Rcvd at 168 Times in 51 Posts
TQN Reputation: 24
Use this IDAPython script
Code:
def applySigFile():
    file = ida_kernwin.ask_file(0, "*.sig", "Select sig file to apply")
    if not file:
        print("applySigFile: user cancelled")
        return

    print("Apply sig file %s" % file)
    ida_funcs.plan_to_apply_idasgn(file)


def applySigDir():
    sig_dir = os.path.join(os.path.dirname(sys.executable), 'sig')
    sig_dir = str(QtWidgets.QFileDialog.getExistingDirectory(None, "Select Your Signatures Directory", sig_dir))
    if sig_dir == "":
        print("applySigDir: user cancelled")
        return

    for name in os.listdir(sig_dir):
        if name[-4:] == '.sig':
            name = os.path.join(sig_dir, name)
            print("Apply sig file %s" % name)
            ida_funcs.plan_to_apply_idasgn(name)
Same as til files
Reply With Quote
The Following 4 Users Say Thank You to TQN For This Useful Post:
Abaddon (03-07-2022), b30wulf (03-08-2022), Kurapica (03-07-2022), sh3dow (04-30-2022)
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[C++] Grim Dawn Database File Extractor (.arz) atom0s Source Code 0 01-16-2015 14:06
Unpacked ASPR file - signature not recognised 5Alive General Discussion 12 02-08-2009 19:38
Signature and IDS file of VC++ 7.1 TQN General Discussion 2 07-12-2004 16:49


All times are GMT +8. The time now is 04:39.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )