MCPcopy Create free account

hub / github.com/d78ui98/APKDeepLens / functions

Functions61 in github.com/d78ui98/APKDeepLens

↓ 30 callersMethodmod_log
(text, color)
report_gen.py:42
↓ 17 callersMethodmod_log
(text, color)
static_tools/utility/utility_class.py:71
↓ 8 callersMethod_scan_pattern
For each check, compiles the regex and walks source_path. Returns one finding dict per (check, file, line) match. De-duplicat
static_tools/code_scanner.py:517
↓ 6 callersMethodmod_print
(text_output, color)
report_gen.py:38
↓ 3 callersMethodclean_apk_name
This function removes 'com' and 'apk' parts from the apk_name if they exist.
report_gen.py:309
↓ 3 callersMethodgrep_keyword
Search for keyword patterns in extracted Android source code using pure Python. Replaces the previous shell-grep approach to eliminat
report_gen.py:137
↓ 2 callersMethodcreate_obj_for_report
( self, txt_output: bool = False, results_dict: dict = None )
report_gen.py:412
↓ 2 callersMethodgenerate_html_pdf_report
Generates an HTML (and optionally PDF) report. Pass results_dict to include manifest_security and code_findings sections.
report_gen.py:549
↓ 2 callersMethodget_all_file_paths
(self, file_path)
static_tools/sensitive_info_extractor.py:27
↓ 2 callersMethodmod_print
Better mod print. It gives the line number, file name in which error occured.
APKDeepLens.py:30
↓ 2 callersMethodrender_template
This method is used to render the template and relevant html data.
report_gen.py:69
↓ 2 callersMethodreturn_abs_path
Returns the absolute path
APKDeepLens.py:271
↓ 1 callersMethodadd_html_tag
Format a single match as HTML with the matched keyword highlighted. Content is HTML-escaped before insertion to prevent XSS from APK
report_gen.py:213
↓ 1 callersMethodadd_sundarta_for_grep
Format a single match for text output with a caret indicator.
report_gen.py:193
↓ 1 callersMethodapk_exists
Check if the apk file exists or not.
APKDeepLens.py:277
↓ 1 callersMethodcheck_crypto
(self)
static_tools/code_scanner.py:40
↓ 1 callersMethodcheck_data_storage
(self)
static_tools/code_scanner.py:336
↓ 1 callersMethodcheck_dynamic_code
(self)
static_tools/code_scanner.py:280
↓ 1 callersMethodcheck_intent_issues
(self)
static_tools/code_scanner.py:461
↓ 1 callersMethodcheck_logging
(self)
static_tools/code_scanner.py:416
↓ 1 callersMethodcheck_manifest_security
Inspects AndroidManifest.xml for security misconfigurations. Returns a list of finding dicts: {id, title, severity, owasp, descriptio
static_tools/scan_android_manifest.py:127
↓ 1 callersMethodcheck_ssl
(self)
static_tools/code_scanner.py:214
↓ 1 callersMethodcheck_webview
(self)
static_tools/code_scanner.py:132
↓ 1 callersMethodcheck_zip_traversal
(self)
static_tools/code_scanner.py:495
↓ 1 callersMethodconvert_html_to_pdf
Convert an HTML file to a PDF.
report_gen.py:297
↓ 1 callersMethodcreate_dir_to_extract
Creating a folder to extract apk source code
APKDeepLens.py:192
↓ 1 callersMethodextract
This function is used to scan the given text for predefined patterns of sensitive information. Detected potential security issues in
static_tools/sensitive_info_extractor.py:96
↓ 1 callersMethodextract_all_sensitive_info
This function detects M1: Insecure Authentication/Authorization Extracts all the keys for all the apk file in: file list - al
static_tools/sensitive_info_extractor.py:35
↓ 1 callersMethodextract_dangerous_permissions
Extracts dangerous permissions from AndroidManifest.xml. Uses shared DANGEROUS_PERMISSIONS list from utility_class.
report_gen.py:279
↓ 1 callersMethodextract_insecure_request_protocol
This function detects M2: Insecure Communication in OWASP Top 10 It will check for all the insure communication used throughout the a
static_tools/sensitive_info_extractor.py:69
↓ 1 callersMethodextract_manifest_info
Extracts basic information from an Android Manifest file.
static_tools/scan_android_manifest.py:11
↓ 1 callersMethodextract_permissions
This method is used to extract permissions from the android manifest.xml.
report_gen.py:263
↓ 1 callersMethodextract_source_code
Extracting source code with JADX
APKDeepLens.py:227
↓ 1 callersMethodfindings_to_html
Render code findings (with file + line) as an HTML table.
report_gen.py:346
↓ 1 callersMethodgenerate_json_report
This function generates the json report based on the json output
report_gen.py:316
↓ 1 callersMethodgenerate_txt_report
(self, result_dict: dict)
report_gen.py:453
↓ 1 callersMethodget_build_information
This method is used to get build information from android manifest.xml.
report_gen.py:248
↓ 1 callersMethodgrenerate_html_report
This method is used to generate a final html report which can be later converted to pdf
report_gen.py:114
↓ 1 callersMethodis_exported
(self, component, ns)
static_tools/scan_android_manifest.py:318
↓ 1 callersFunctionis_path_or_filename
Added function to better handle apk names and apk paths
APKDeepLens.py:308
↓ 1 callersMethodlist_to_html
This method is used to covert list to unordered list in html
report_gen.py:99
↓ 1 callersMethodload_template
read of the template.
report_gen.py:126
↓ 1 callersMethodmanifest_findings_to_html
Render manifest findings (no file/line) as an HTML table.
report_gen.py:380
↓ 1 callersMethodparse_android_manifest
(self, manifest_path)
static_tools/scan_android_manifest.py:321
↓ 1 callersFunctionparse_args
Parse command-line arguments.
APKDeepLens.py:126
↓ 1 callersMethodprint_logo
Logo for APKDeepLens
APKDeepLens.py:109
↓ 1 callersMethodprint_summary
Print a colour-coded summary table after scanning completes.
APKDeepLens.py:40
↓ 1 callersMethodscan_all
(self)
static_tools/code_scanner.py:23
Method__init__
(self)
APKDeepLens.py:189
Method__init__
Defining few important variables which are used throughout the class.
report_gen.py:48
Method__init__
(self)
static_tools/scan_android_manifest.py:8
Method__init__
(self, source_path: str)
static_tools/code_scanner.py:16
Method_manif_analysis_parser
(index: str)
report_gen.py:478
Methodattr
(elem, name)
static_tools/scan_android_manifest.py:139
Methodcount_by_sev
(findings)
APKDeepLens.py:51
Methodcount_row
(label, count)
APKDeepLens.py:89
Methoddata_row
(label, counts)
APKDeepLens.py:83
Methodfmt
(val, w, color="")
APKDeepLens.py:75
Methodheader_row
()
APKDeepLens.py:79
Methodis_running_in_docker
()
APKDeepLens.py:233
Methodmod_print
Better mod print. It gives the line number, file name in which error occured.
static_tools/utility/utility_class.py:62