Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d78ui98/APKDeepLens
/ functions
Functions
61 in github.com/d78ui98/APKDeepLens
⨍
Functions
61
◇
Types & classes
9
↓ 30 callers
Method
mod_log
(text, color)
report_gen.py:42
↓ 17 callers
Method
mod_log
(text, color)
static_tools/utility/utility_class.py:71
↓ 8 callers
Method
_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 callers
Method
mod_print
(text_output, color)
report_gen.py:38
↓ 3 callers
Method
clean_apk_name
This function removes 'com' and 'apk' parts from the apk_name if they exist.
report_gen.py:309
↓ 3 callers
Method
grep_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 callers
Method
create_obj_for_report
( self, txt_output: bool = False, results_dict: dict = None )
report_gen.py:412
↓ 2 callers
Method
generate_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 callers
Method
get_all_file_paths
(self, file_path)
static_tools/sensitive_info_extractor.py:27
↓ 2 callers
Method
mod_print
Better mod print. It gives the line number, file name in which error occured.
APKDeepLens.py:30
↓ 2 callers
Method
render_template
This method is used to render the template and relevant html data.
report_gen.py:69
↓ 2 callers
Method
return_abs_path
Returns the absolute path
APKDeepLens.py:271
↓ 1 callers
Method
add_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 callers
Method
add_sundarta_for_grep
Format a single match for text output with a caret indicator.
report_gen.py:193
↓ 1 callers
Method
apk_exists
Check if the apk file exists or not.
APKDeepLens.py:277
↓ 1 callers
Method
check_crypto
(self)
static_tools/code_scanner.py:40
↓ 1 callers
Method
check_data_storage
(self)
static_tools/code_scanner.py:336
↓ 1 callers
Method
check_dynamic_code
(self)
static_tools/code_scanner.py:280
↓ 1 callers
Method
check_intent_issues
(self)
static_tools/code_scanner.py:461
↓ 1 callers
Method
check_logging
(self)
static_tools/code_scanner.py:416
↓ 1 callers
Method
check_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 callers
Method
check_ssl
(self)
static_tools/code_scanner.py:214
↓ 1 callers
Method
check_webview
(self)
static_tools/code_scanner.py:132
↓ 1 callers
Method
check_zip_traversal
(self)
static_tools/code_scanner.py:495
↓ 1 callers
Method
convert_html_to_pdf
Convert an HTML file to a PDF.
report_gen.py:297
↓ 1 callers
Method
create_dir_to_extract
Creating a folder to extract apk source code
APKDeepLens.py:192
↓ 1 callers
Method
extract
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 callers
Method
extract_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 callers
Method
extract_dangerous_permissions
Extracts dangerous permissions from AndroidManifest.xml. Uses shared DANGEROUS_PERMISSIONS list from utility_class.
report_gen.py:279
↓ 1 callers
Method
extract_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 callers
Method
extract_manifest_info
Extracts basic information from an Android Manifest file.
static_tools/scan_android_manifest.py:11
↓ 1 callers
Method
extract_permissions
This method is used to extract permissions from the android manifest.xml.
report_gen.py:263
↓ 1 callers
Method
extract_source_code
Extracting source code with JADX
APKDeepLens.py:227
↓ 1 callers
Method
findings_to_html
Render code findings (with file + line) as an HTML table.
report_gen.py:346
↓ 1 callers
Method
generate_json_report
This function generates the json report based on the json output
report_gen.py:316
↓ 1 callers
Method
generate_txt_report
(self, result_dict: dict)
report_gen.py:453
↓ 1 callers
Method
get_build_information
This method is used to get build information from android manifest.xml.
report_gen.py:248
↓ 1 callers
Method
grenerate_html_report
This method is used to generate a final html report which can be later converted to pdf
report_gen.py:114
↓ 1 callers
Method
is_exported
(self, component, ns)
static_tools/scan_android_manifest.py:318
↓ 1 callers
Function
is_path_or_filename
Added function to better handle apk names and apk paths
APKDeepLens.py:308
↓ 1 callers
Method
list_to_html
This method is used to covert list to unordered list in html
report_gen.py:99
↓ 1 callers
Method
load_template
read of the template.
report_gen.py:126
↓ 1 callers
Method
manifest_findings_to_html
Render manifest findings (no file/line) as an HTML table.
report_gen.py:380
↓ 1 callers
Method
parse_android_manifest
(self, manifest_path)
static_tools/scan_android_manifest.py:321
↓ 1 callers
Function
parse_args
Parse command-line arguments.
APKDeepLens.py:126
↓ 1 callers
Method
print_logo
Logo for APKDeepLens
APKDeepLens.py:109
↓ 1 callers
Method
print_summary
Print a colour-coded summary table after scanning completes.
APKDeepLens.py:40
↓ 1 callers
Method
scan_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
Method
attr
(elem, name)
static_tools/scan_android_manifest.py:139
Method
count_by_sev
(findings)
APKDeepLens.py:51
Method
count_row
(label, count)
APKDeepLens.py:89
Method
data_row
(label, counts)
APKDeepLens.py:83
Method
fmt
(val, w, color="")
APKDeepLens.py:75
Method
header_row
()
APKDeepLens.py:79
Method
is_running_in_docker
()
APKDeepLens.py:233
Method
mod_print
Better mod print. It gives the line number, file name in which error occured.
static_tools/utility/utility_class.py:62