Skip to content

Commit 72cd09b

Browse files
kelvinBenkelvinBen
kelvinBen
authored and
kelvinBen
committed
- 添加AK和SK的检测
- 添加检测规则提交入口 - 添加.gitignore文件 - 添加gitee高速下载通道 - 优化txt结果集输出方式 - 去除一些不必要的输出 - 更新apktool至最新版本 - 更新baksmali至最新版本 - 修复单dex文件不解析的问题 - 修复Windows下长文件不解析的问题 - 修复目录中包含空格无法解析的问题 - 修复WEB页面或者目录扫描的问题 - 修复使用默认python执行命令跳出应用商店问题 - 修复iOS应用使用IPA无结果的问题 - 修复因JS文件导致在进行AK搜索时出现的雪崩问题
1 parent e8c1216 commit 72cd09b

21 files changed

+399
-76
lines changed

.gitignore

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
result_*.txt
2+
result_*.xls
3+
download/
4+
history/
5+
out/
6+
7+
8+
# Byte-compiled / optimized / DLL files
9+
__pycache__/
10+
*.py[cod]
11+
*$py.class
12+
*.pyc
13+
14+
# C extensions
15+
*.so
16+
17+
# Distribution / packaging
18+
.Python
19+
.DS_Store
20+
build/
21+
develop-eggs/
22+
dist/
23+
downloads/
24+
eggs/
25+
.eggs/
26+
lib/
27+
lib64/
28+
parts/
29+
sdist/
30+
var/
31+
wheels/
32+
*.egg-info/
33+
.installed.cfg
34+
*.egg
35+
MANIFEST
36+
37+
# PyInstaller
38+
# Usually these files are written by a python script from a template
39+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
40+
*.manifest
41+
*.spec
42+
43+
# Installer logs
44+
pip-log.txt
45+
pip-delete-this-directory.txt
46+
47+
# Unit test / coverage reports
48+
htmlcov/
49+
.tox/
50+
.coverage
51+
.coverage.*
52+
.cache
53+
nosetests.xml
54+
coverage.xml
55+
*.cover
56+
.hypothesis/
57+
.pytest_cache/
58+
59+
# Translations
60+
*.mo
61+
*.pot
62+
63+
# Django stuff:
64+
*.log
65+
local_settings.py
66+
db.sqlite3
67+
68+
# Flask stuff:
69+
instance/
70+
.webassets-cache
71+
72+
# Scrapy stuff:
73+
.scrapy
74+
75+
# Sphinx documentation
76+
docs/_build/
77+
78+
# PyBuilder
79+
target/
80+
81+
# Jupyter Notebook
82+
.ipynb_checkpoints
83+
84+
# pyenv
85+
.python-version
86+
87+
# celery beat schedule file
88+
celerybeat-schedule
89+
90+
# SageMath parsed files
91+
*.sage.py
92+
93+
# Environments
94+
.env
95+
.venv
96+
env/
97+
venv/
98+
ENV/
99+
env.bak/
100+
venv.bak/
101+
102+
# Spyder project settings
103+
.spyderproject
104+
.spyproject
105+
106+
# Rope project settings
107+
.ropeproject
108+
109+
# mkdocs documentation
110+
/site
111+
112+
# mypy
113+
.mypy_cache/
114+
115+
# add
116+
.idea/

CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
blsm@vip.qq.com.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Language](https://img.shields.io/badge/Language-Python3-blue) ![License](https://img.shields.io/badge/License-GPL3.0-orange)
1+
![License](https://img.shields.io/badge/Version-V1.0.8-red) ![Language](https://img.shields.io/badge/Language-Python3-blue) ![License](https://img.shields.io/badge/License-GPL3.0-orange)
22

33

44
该项目目前仅仅是规划项目中的冰山一角,如果您对此项目感兴趣或者想参与后继项目的开发工作或者翻译工作中,请发送邮件至blsm@vip.qq.com说明你的能力和诉求。
@@ -90,6 +90,11 @@ AppInfoScanner
9090
或者复制以下链接到浏览器下载最新正式版本
9191
9292
https://github.com/kelvinBen/AppInfoScanner/releases/latest
93+
94+
国内快速下载通道:
95+
96+
git clone https://gitee.com/kelvin_ben/AppInfoScanner.git
97+
9398
```
9499

95100
2. 安装依赖库
@@ -373,6 +378,35 @@ method: 用于配置自动下载过程中需要的请求方法
373378

374379
```
375380
请将错误截图以及对应的APK文件提交至 https://github.com/kelvinBen/AppInfoScanner/issues,作者看到后会及时进行处理。
381+
```
382+
## 自定义规则添加
383+
384+
自定义规则提交路径:
385+
386+
[点击添加自定义规则](https://github.com/kelvinBen/AppInfoScanner/issues/7)
387+
388+
提交格式:
389+
```
390+
1. APP自定义组件添加
391+
392+
如: fastjson的规则如下:
393+
APP组件: fastjson com.alibaba.fastjson
394+
395+
2. 需要进行搜索的字符串
396+
397+
如:查询阿里的AK规则如下:
398+
字符串:
399+
阿里云AK .*accessKeyId.*".*"
400+
401+
3. 需要搜素的web文件后缀名
402+
403+
如:jsp文件的规则如下:
404+
网站: java语言 jsp
405+
406+
4. Android壳规则
407+
如: 某数字公司的壳规则如下:
408+
壳:某数字公司 com.stub.StubApp
409+
376410
```
377411

378412
## 联系作者
@@ -383,7 +417,8 @@ method: 用于配置自动下载过程中需要的请求方法
383417

384418
提交需求、提交BUG修复、技术交流、商务合作均可添加作者好友。
385419

386-
420+
## Stargazers
421+
[![Stargazers over time](https://starchart.cc/kelvinBen/AppInfoScanner.svg)](https://starchart.cc/kelvinBen/AppInfoScanner)
387422

388423
# 404StarLink 2.0 - Galaxy
389424
![](https://github.com/knownsec/404StarLink-Project/raw/master/logo.png)

__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#! /usr/bin/python3
12
# -*- coding: utf-8 -*-
23
# Author: kelvinBen
34
# Github: https://github.com/kelvinBen/AppInfoScanner

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#! /usr/bin/python3
22
# -*- coding: utf-8 -*-
33
# Author: kelvinBen
44
# Github: https://github.com/kelvinBen/AppInfoScanner

config.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#! /usr/bin/python3
12
# -*- coding: utf-8 -*-
23
# Author: kelvinBen
34
# Github: https://github.com/kelvinBen/AppInfoScanner
@@ -30,7 +31,7 @@
3031
filter_strs =[
3132
r'https://.*|http://.*',
3233
# r'.*://([[0-9]{1,3}\.]{3}[0-9]{1,3}).*',
33-
r'.*://([\d{1,3}\.]{3}\d{1,3}).*'
34+
r'.*://([\d{1,3}\.]{3}\d{1,3}).*',
3435
# r'/[a-z0-9A-Z]+/.*'
3536
]
3637

@@ -73,7 +74,6 @@
7374
web_file_suffix =[
7475
"html",
7576
"js",
76-
"html",
7777
"xml",
7878
"php",
7979
"jsp",
@@ -85,10 +85,10 @@
8585

8686
# 配置需要忽略网络嗅探的文件后缀名,此处根据具体需求进行配置,默认为不过滤
8787
sniffer_filter=[
88-
# "jpg",
89-
# "png",
90-
# "jpeg",
91-
# "gif",
88+
"jpg",
89+
"png",
90+
"jpeg",
91+
"gif",
9292
]
9393

9494
# 配置自动下载Apk文件或者缓存HTML的请求头信息

libs/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#! /usr/bin/python3
12
# -*- coding: utf-8 -*-
23
# Author: kelvinBen
34
# Github: https://github.com/kelvinBen/AppInfoScanner

0 commit comments

Comments
 (0)