Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #19  
Old 08-12-2024, 18:56
blue_devil's Avatar
blue_devil blue_devil is offline
Family
 
Join Date: Dec 2011
Location: Observable Universe
Posts: 538
Rept. Given: 110
Rept. Rcvd 73 Times in 46 Posts
Thanks Given: 688
Thanks Rcvd at 895 Times in 297 Posts
blue_devil Reputation: 73
After dowloading the .DS_Store file from this url:
Code:
http://out5.hex-rays.com/.DS_Store
You can extract the path by using the python script below:
Code:
'''SCT'''
import ds_store

def extract_paths(ds_store_path):
    paths = []
    with ds_store.DSStore.open(ds_store_path, 'r') as ds:
        for record in ds:
            paths.append(record.filename)
    return paths

# Usage
ds_store_path = './Untitled.DS_Store'
extracted_paths = extract_paths(ds_store_path)
for path in extracted_paths:
    print(path)
You need 2 python packages to install in you environment
Code:
mac-alias
ds-store

Last edited by blue_devil; 08-12-2024 at 18:57. Reason: typo
Reply With Quote
The Following 3 Users Say Thank You to blue_devil For This Useful Post:
MarcElBichon (08-12-2024), uranus64 (08-12-2024), wx69wx2023 (08-12-2024)
 


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
Installation of DriverStudio 3.2 causes System Crash rcer General Discussion 7 09-20-2009 09:25
Visual Studio .Net installation help Nilrem General Discussion 15 03-11-2004 06:55


All times are GMT +8. The time now is 17:05.


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