General Information About Target Binary
Description : With this feature you can get general information from target MACH-O binary.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_binary_info ()
Description : This method is for parsing and listing segments.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_segments ()
Get Target Segment Information
Description : With this method you can get additional information about the target segment.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .segment_info ("__TEXT" )
Description : This method is for extracting content of the target segment.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .dump_segment ("__TEXT" )
Description : This method is for parsing and listing sections.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_sections ()
Get Target Section Information
Description : With this method you can get additional information about the target section.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .section_info ("__text" )
Description : This method is for extracting content of the target section.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .dump_section ("__text" )
Description : This method is for get all information about the Dynamic Libraries.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_dylib_names ()
Get WEAK DYLIB Information
Description : This method is for get all information about the Weak Dynamic Libraries.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_weak_dylib_names ()
Description : This method can get and list string values from the target binary file.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_strings ()
Gather Application Identifier
Description : This method returns application identifier name. (For example "com.example.app")
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .application_identifier ()
Gather Code Signature Information
Description : This method is for getting information about code signature section.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .code_signature_info ()
Getting LC_SYMTAB Information
Description : This method returns information about LC_SYMTAB.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_symtab_info ()
Description : This method returns string values contained in LC_SYMTAB.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .dump_symtab_strings ()
Gather Information About Dynamic Linking Editor (LC_DYLD_INFO)
Description : This method returns information about LC_DYLD_INFO.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_dyld_info ()
Parsing Property List Data
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
plist = wm .get_plists ()
for pl in plist [0 ].iter ():
if pl .text :
print (pl .text )
Locating Entrypoint Offset
Description : This method returns entrypoint offset of the target binary.
from wh1tem0cha import Wh1teM0cha
wm = Wh1teM0cha ("target_binary_file" )
wm .get_entrypoint ()