Documentation ¶
Index ¶
Constants ¶
View Source
const ( JtoolUrl = "https://github.com/simplycubed/vulnscan-dependencies/releases/download/0.0.1-beta/jtool" ClassDumpZUrl = "https://github.com/simplycubed/vulnscan-dependencies/releases/download/0.0.1-beta/class-dump-z" ClassDumpSwiftUrl = "https://github.com/simplycubed/vulnscan-dependencies/releases/download/0.0.1-beta/class-dump-swift" )
Urls to download the tolls
Variables ¶
This section is empty.
Functions ¶
func ExtractBinPath ¶
func Normalize ¶
Normalize tries to adapt the input folder to different cases, so all the analysis can start from a common folder structure, independently of how the user has passed the address to scan. It follows these rules:
If isSrc flag is true, the folder is treated as the main folder without further analysis. If the file extension is zip of ipa, the folder is uncompressed into a temporary one, that will be later be deleted. It's expected that this folder contains a .app folder as the content. If the file extension is app, the file is moved to another temporary empty folder where the analysis is performed. This is because we don't know if the user may have other app folders in the same route and we wan't to treat the route as in the case where an ipa or zip is passed to the app. If the file is a directory, we look for an app, ipa or zip file and call Normalize again with it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.