imcurvin 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- imcurvin-1.2.0/Imcurvin/__init__.py +0 -0
- imcurvin-1.2.0/Imcurvin/imcurvin.sh +190 -0
- imcurvin-1.2.0/LICENSE +201 -0
- imcurvin-1.2.0/PKG-INFO +53 -0
- imcurvin-1.2.0/README.md +52 -0
- imcurvin-1.2.0/data/__init__.py +0 -0
- imcurvin-1.2.0/imcurvin.egg-info/PKG-INFO +53 -0
- imcurvin-1.2.0/imcurvin.egg-info/SOURCES.txt +16 -0
- imcurvin-1.2.0/imcurvin.egg-info/dependency_links.txt +1 -0
- imcurvin-1.2.0/imcurvin.egg-info/not-zip-safe +1 -0
- imcurvin-1.2.0/imcurvin.egg-info/top_level.txt +4 -0
- imcurvin-1.2.0/setup.cfg +4 -0
- imcurvin-1.2.0/setup.py +56 -0
- imcurvin-1.2.0/tamper/__init__.py +0 -0
- imcurvin-1.2.0/validators/__init__.py +1 -0
- imcurvin-1.2.0/validators/ayam.py +21 -0
- imcurvin-1.2.0/validators/defval.py +61 -0
- imcurvin-1.2.0/validators/validate.py +82 -0
|
File without changes
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# ==============================================
|
|
3
|
+
# ImCurvin' v1.2.0
|
|
4
|
+
# Copyright 2026 Skokoo
|
|
5
|
+
# Licensed under the Apache License, Version 2.0
|
|
6
|
+
# ==============================================
|
|
7
|
+
|
|
8
|
+
terminate_script() {
|
|
9
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m Execution failed for an unknown reason."
|
|
10
|
+
exit 1
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
show_help() {
|
|
14
|
+
echo -e "->>\n"
|
|
15
|
+
echo -e "Usage: ./imcurvin.sh -u <TARGET_URL> [OPTION]\n"
|
|
16
|
+
echo -e "Available option:"
|
|
17
|
+
echo -e " -u <URL> : Specify the target website URL (Required)"
|
|
18
|
+
echo -e " -risk : Enable 'Risk' Mode."
|
|
19
|
+
echo -e " -defiance : Enable Defiance Mode (Agressive, extreme Parallel MySQL Strike)"
|
|
20
|
+
echo -e " -cnf : Automode (Skip all confirmation prompts)"
|
|
21
|
+
echo -e " -str=risk : Keep scanning files even after acquiring HTTP 200 (Risk Mode only)"
|
|
22
|
+
echo -e " -cmb : Combined mode (Automatically execute Default Scan then Risk Scan)"
|
|
23
|
+
echo -e " -h : Display this help guide"
|
|
24
|
+
echo -e " -proxy=<addr> : Route traffic through a custom proxy (e.g., http://127.0.0.1:8080)"
|
|
25
|
+
echo -e " -add=<path> : Load a custom external wordlist path for the scan"
|
|
26
|
+
echo -e " -nerf : Nerf defiance mode payload a bit."
|
|
27
|
+
echo -e "\n->>"
|
|
28
|
+
exit 0
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if ! command -v curl &> /dev/null; then
|
|
32
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m WARNING: 'curl' is not installed on your terminal."
|
|
33
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m Please install curl first before running imCurvin'."
|
|
34
|
+
terminate_script
|
|
35
|
+
fi
|
|
36
|
+
|
|
37
|
+
if ! command -v dirname &> /dev/null; then
|
|
38
|
+
echo -e "\e[0;31m[\e[0m!\e[0;31m]\e[0m WARNING: 'corutils: dirname' is not installed on your terminal."
|
|
39
|
+
terminate_script
|
|
40
|
+
exit 1
|
|
41
|
+
fi
|
|
42
|
+
if ! command -v shuf &> /dev/null; then
|
|
43
|
+
echo -e "\e[0;31m[\e[0m!\e[0;31m]\e[0m WARNING: 'coreutils: shuf'is not installed on your terminal."
|
|
44
|
+
terminate_script
|
|
45
|
+
exit 1
|
|
46
|
+
fi
|
|
47
|
+
for arg in "$@"; do
|
|
48
|
+
if [ "$arg" = "-h" ]; then
|
|
49
|
+
show_help
|
|
50
|
+
fi
|
|
51
|
+
done
|
|
52
|
+
|
|
53
|
+
clear
|
|
54
|
+
echo -e "\e[0;34m[ImCurvin'] Version 1.2.0\e[0m"
|
|
55
|
+
echo ""
|
|
56
|
+
|
|
57
|
+
defiance_check="false"
|
|
58
|
+
for arg in "$@"; do
|
|
59
|
+
if [ "$arg" = "-defiance" ]; then
|
|
60
|
+
defiance_check="true"
|
|
61
|
+
fi
|
|
62
|
+
done
|
|
63
|
+
|
|
64
|
+
if [ "$defiance_check" = "false" ]; then
|
|
65
|
+
echo -e "\e[0;33m[\e[0m!\e[0;37m]\e[0m LEGAL WARNING: Running this scan on a website"
|
|
66
|
+
echo -e "without written permission is an ILLEGAL act and a violation of cyber law."
|
|
67
|
+
echo -n -e "\e[0;33m[\e[0m?\e[0;37m]\e[0m Do you have explicit written consent from the target owner? (y/n) "
|
|
68
|
+
echo ""
|
|
69
|
+
|
|
70
|
+
skip_confirm="false"
|
|
71
|
+
for arg in "$@"; do
|
|
72
|
+
if [ "$arg" = "-cnf" ]; then
|
|
73
|
+
skip_confirm="true"
|
|
74
|
+
fi
|
|
75
|
+
done
|
|
76
|
+
|
|
77
|
+
if [ "$skip_confirm" = "true" ]; then
|
|
78
|
+
user_agreement="y"
|
|
79
|
+
else
|
|
80
|
+
read -r user_agreement
|
|
81
|
+
fi
|
|
82
|
+
|
|
83
|
+
if [[ "$user_agreement" != "y" && "$user_agreement" != "Y" ]]; then
|
|
84
|
+
terminate_script
|
|
85
|
+
fi
|
|
86
|
+
fi
|
|
87
|
+
|
|
88
|
+
skip_confirm="false"
|
|
89
|
+
store_mode="false"
|
|
90
|
+
combine_mode="false"
|
|
91
|
+
risk_mode="false"
|
|
92
|
+
defiance_mode="false"
|
|
93
|
+
nerf_mode="false"
|
|
94
|
+
custom_proxy=""
|
|
95
|
+
custom_wordlist=""
|
|
96
|
+
target_url=""
|
|
97
|
+
HATE_MODE="false"
|
|
98
|
+
|
|
99
|
+
while [[ "$#" -gt 0 ]]; do
|
|
100
|
+
case "$1" in
|
|
101
|
+
-u) target_url="$2"; shift 2 ;;
|
|
102
|
+
-risk) risk_mode="true"; shift 1 ;;
|
|
103
|
+
-defiance) defiance_mode="true"; shift 1 ;;
|
|
104
|
+
-nerf) nerf_mode="true"; shift 1
|
|
105
|
+
;;
|
|
106
|
+
-cnf) skip_confirm="true"; shift 1 ;;
|
|
107
|
+
-str=risk) store_mode="true"; shift 1 ;;
|
|
108
|
+
-proxy=*) custom_proxy="${1#*=}"; shift 1 ;;
|
|
109
|
+
-hate)
|
|
110
|
+
HATE_MODE="true"
|
|
111
|
+
shift 1
|
|
112
|
+
;;
|
|
113
|
+
-add=*) custom_wordlist="${1#*=}"; shift 1 ;;
|
|
114
|
+
-cmb) combine_mode="true"; shift 1 ;;
|
|
115
|
+
-h) show_help ;;
|
|
116
|
+
*) shift ;;
|
|
117
|
+
esac
|
|
118
|
+
done
|
|
119
|
+
|
|
120
|
+
if [ -z "$target_url" ]; then
|
|
121
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m URL not found. Input the url using the flag -u 'URL_NAME'"
|
|
122
|
+
exit 1
|
|
123
|
+
fi
|
|
124
|
+
|
|
125
|
+
script_dir="$(dirname "$0")"
|
|
126
|
+
|
|
127
|
+
if [ "$defiance_mode" = "true" ]; then
|
|
128
|
+
if [ -f "$script_dir/Defiancescan.sh" ]; then
|
|
129
|
+
export custom_wordlist
|
|
130
|
+
export custom_proxy
|
|
131
|
+
export skip_confirm
|
|
132
|
+
export nerf_mode
|
|
133
|
+
|
|
134
|
+
chmod +x "$script_dir/Defiancescan.sh"
|
|
135
|
+
source "$script_dir/Defiancescan.sh" "$target_url"
|
|
136
|
+
echo ""
|
|
137
|
+
echo -e "\e[0;32m[\e[0m=\e[0;32m]\e[0m Ending. ImCurvin' Version: 1.2.0."
|
|
138
|
+
exit 0
|
|
139
|
+
else
|
|
140
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m Defiancescan.sh missing."
|
|
141
|
+
exit 1
|
|
142
|
+
fi
|
|
143
|
+
fi
|
|
144
|
+
|
|
145
|
+
if [ "$combine_mode" = "true" ]; then
|
|
146
|
+
risk_mode="true"
|
|
147
|
+
fi
|
|
148
|
+
|
|
149
|
+
if [ "$risk_mode" = "true" ]; then
|
|
150
|
+
echo -e "\e[0;33m[\e[0m!\e[0;37m]\e[0m Checking for TOR."
|
|
151
|
+
tor_port="9050"
|
|
152
|
+
if pgrep -x "tor" >/dev/null 2>&1; then
|
|
153
|
+
echo -e "\e[0;32m[\e[0m=\e[0;32m]\e[0m Tor terminal service detected as active (Port $tor_port)."
|
|
154
|
+
else
|
|
155
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m WARNING: Tor terminal service is not detected/running."
|
|
156
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m Run the command 'sudo systemctl start tor' or 'tor' in a new terminal."
|
|
157
|
+
|
|
158
|
+
terminate_script() {
|
|
159
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m Operation aborted due to environment mismatch."
|
|
160
|
+
exit 1
|
|
161
|
+
}
|
|
162
|
+
terminate_script
|
|
163
|
+
fi
|
|
164
|
+
fi
|
|
165
|
+
|
|
166
|
+
if [ "$risk_mode" = "false" ] || [ "$combine_mode" = "true" ]; then
|
|
167
|
+
if [ -f "$script_dir/default_scan.sh" ]; then
|
|
168
|
+
source "$script_dir/default_scan.sh"
|
|
169
|
+
else
|
|
170
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m ERROR: default_scan.sh missing."
|
|
171
|
+
exit 1
|
|
172
|
+
fi
|
|
173
|
+
fi
|
|
174
|
+
|
|
175
|
+
if [ "$risk_mode" = "true" ]; then
|
|
176
|
+
if [ -f "$script_dir/risk_scan.sh" ]; then
|
|
177
|
+
export skip_confirm
|
|
178
|
+
export store_mode
|
|
179
|
+
export combine_mode
|
|
180
|
+
export custom_proxy
|
|
181
|
+
export custom_wordlist
|
|
182
|
+
source "$script_dir/risk_scan.sh"
|
|
183
|
+
else
|
|
184
|
+
echo -e "\e[0;33m[\e[0m-\e[0;37m]\e[0m ERROR: risk_scan.sh missing."
|
|
185
|
+
exit 1
|
|
186
|
+
fi
|
|
187
|
+
fi
|
|
188
|
+
|
|
189
|
+
echo ""
|
|
190
|
+
echo -e "\e[0;32m[\e[0m=\e[0;32m]\e[0m Ending. ImCurvin' Version: 1.2.0."
|
imcurvin-1.2.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
imcurvin-1.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: imcurvin
|
|
3
|
+
Version: 1.2.0
|
|
4
|
+
Summary: Web security auditing tool with advanced evasion modes
|
|
5
|
+
Home-page: https://github.com/Skokoo/ImCurvin
|
|
6
|
+
Author: Skokoo
|
|
7
|
+
Author-email: Skokoo@proton.me
|
|
8
|
+
License: Apache 2.0
|
|
9
|
+
Project-URL: Homepage, https://github.com/Skokoo/ImCurvin
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Intended Audience :: Information Technology
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
14
|
+
Classifier: Programming Language :: Unix Shell
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Topic :: Security
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Dynamic: author
|
|
20
|
+
Dynamic: author-email
|
|
21
|
+
Dynamic: classifier
|
|
22
|
+
Dynamic: description
|
|
23
|
+
Dynamic: description-content-type
|
|
24
|
+
Dynamic: home-page
|
|
25
|
+
Dynamic: license
|
|
26
|
+
Dynamic: license-file
|
|
27
|
+
Dynamic: project-url
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## ImCurvin
|
|
32
|
+
|
|
33
|
+
   
|
|
34
|
+
|
|
35
|
+
***ImCurvin*** is an open-source, server-friendly web security auditing tool built for Termux and Linux environments to detect misconfigurations, probe backend vulnerabilities, and discover hidden endpoints. Powered by a flexible Bash core integrated with analytical Python engines, it features advanced multi-vector evasion techniques and adaptive scanning modes.
|
|
36
|
+
|
|
37
|
+
The framework offers three distinct operational modes:
|
|
38
|
+
* **Default Mode:** Performs baseline endpoint scanning using wordlist-driven reconnaissance. It randomizes User-Agents and utilizes built-in rate limiting to evade initial detection, making it ideal for target assessment.
|
|
39
|
+
* **Risk Mode:** Escalates reconnaissance by routing traffic through TOR circuits. It operates in a 3-stage sequence: Endpoint Discovery, Time-Based SQL Injection with custom tampering, and Gentle Probing via HTTP OPTIONS requests to harvest server metadata. Includes a Python post-scan validator to eliminate network-induced false positives.
|
|
40
|
+
* **Defiance Mode:** An aggressive, high-throughput engine optimized for MySQL time-based injection attacks. It features dual-vector parallel attacks with multi-port TOR circuit load-balancing, achieving true multi-IP rotation per request. Evasion is pushed to its limits using multi-layered tampers (XOR, Base64, and 2 advanced encodings) coupled with adaptive header injection for advanced WAF/CDN bypass. This mode implements an enhanced, highly accurate Python validation engine to isolate genuine database delays from baseline network latency.
|
|
41
|
+
|
|
42
|
+
> For a detailed breakdown of each operational mode and its technical implementation, please visit the repository and check the Mode.md file.
|
|
43
|
+
|
|
44
|
+
### Requirements:
|
|
45
|
+
* tor
|
|
46
|
+
* xxd
|
|
47
|
+
* curl
|
|
48
|
+
* coreutils
|
|
49
|
+
* python3 (for Git installation)
|
|
50
|
+
|
|
51
|
+
### Source:
|
|
52
|
+
[https://github.com/Skokoo/ImCurvin](https://github.com/Skokoo/ImCurvin)
|
|
53
|
+
|
imcurvin-1.2.0/README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# ImCurvin'
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
ImCurvin' is an open source web security auditing and penetration testing tool that automates the process of detecting environment misconfigurations, tracking exposed configuration blueprints, and probing backend vulnerabilities.
|
|
9
|
+
|
|
10
|
+
Detailed information regarding the modes can be found at https://github.com/Skokoo/ImCurvin/blob/main/Mode.md
|
|
11
|
+
|
|
12
|
+
This project was engineered and debugged entirely on a smartphone using Termux.
|
|
13
|
+
|
|
14
|
+
# ScreenShot.
|
|
15
|
+
You can catch a full breakdown of the interface, and process. Check out the [Screenshots Gallery](screenshoots/ScreenShots.md).
|
|
16
|
+
|
|
17
|
+
# Installation & how to use.
|
|
18
|
+
|
|
19
|
+
You can download ImCurvin' by cloning the Git repository:
|
|
20
|
+
```bash
|
|
21
|
+
git clone --depth=1 https://github.com/Skokoo/ImCurvin
|
|
22
|
+
cd ImCurvin/Imcurvin
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
**Usage:**
|
|
26
|
+
|
|
27
|
+
Don't forget that you also need to download Python and curl (if not already installed) before using the tool. Before executing, make sure to grant the necessary execution rights first:
|
|
28
|
+
```bash
|
|
29
|
+
chmod +x imcurvin.sh
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
To get a list of basic options
|
|
33
|
+
```bash
|
|
34
|
+
./imcurvin.sh -h
|
|
35
|
+
```
|
|
36
|
+
If you want to explore all available options without running the help flag, head straight to the [Help Guide](UsrM.md) for a complete breakdown.
|
|
37
|
+
|
|
38
|
+
## Links
|
|
39
|
+
|
|
40
|
+
• [Legal Disclaimer](Imcurvin/Warning.txt)
|
|
41
|
+
|
|
42
|
+
• [Security Policy](SECURITY.md)
|
|
43
|
+
|
|
44
|
+
• [Guidelines & NOTE](Imcurvin/Note.txt)
|
|
45
|
+
|
|
46
|
+
• [Changelog & Updates](UPDATE_LOG.md)
|
|
47
|
+
|
|
48
|
+
• [License](LICENSE)
|
|
49
|
+
|
|
50
|
+
• [Contribution](CONTRIBUTING.md)
|
|
51
|
+
|
|
52
|
+
• [Share your feedback here!](https://github.com/Skokoo/ImCurvin/discussions/1)
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: imcurvin
|
|
3
|
+
Version: 1.2.0
|
|
4
|
+
Summary: Web security auditing tool with advanced evasion modes
|
|
5
|
+
Home-page: https://github.com/Skokoo/ImCurvin
|
|
6
|
+
Author: Skokoo
|
|
7
|
+
Author-email: Skokoo@proton.me
|
|
8
|
+
License: Apache 2.0
|
|
9
|
+
Project-URL: Homepage, https://github.com/Skokoo/ImCurvin
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Intended Audience :: Information Technology
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
14
|
+
Classifier: Programming Language :: Unix Shell
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Topic :: Security
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Dynamic: author
|
|
20
|
+
Dynamic: author-email
|
|
21
|
+
Dynamic: classifier
|
|
22
|
+
Dynamic: description
|
|
23
|
+
Dynamic: description-content-type
|
|
24
|
+
Dynamic: home-page
|
|
25
|
+
Dynamic: license
|
|
26
|
+
Dynamic: license-file
|
|
27
|
+
Dynamic: project-url
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## ImCurvin
|
|
32
|
+
|
|
33
|
+
   
|
|
34
|
+
|
|
35
|
+
***ImCurvin*** is an open-source, server-friendly web security auditing tool built for Termux and Linux environments to detect misconfigurations, probe backend vulnerabilities, and discover hidden endpoints. Powered by a flexible Bash core integrated with analytical Python engines, it features advanced multi-vector evasion techniques and adaptive scanning modes.
|
|
36
|
+
|
|
37
|
+
The framework offers three distinct operational modes:
|
|
38
|
+
* **Default Mode:** Performs baseline endpoint scanning using wordlist-driven reconnaissance. It randomizes User-Agents and utilizes built-in rate limiting to evade initial detection, making it ideal for target assessment.
|
|
39
|
+
* **Risk Mode:** Escalates reconnaissance by routing traffic through TOR circuits. It operates in a 3-stage sequence: Endpoint Discovery, Time-Based SQL Injection with custom tampering, and Gentle Probing via HTTP OPTIONS requests to harvest server metadata. Includes a Python post-scan validator to eliminate network-induced false positives.
|
|
40
|
+
* **Defiance Mode:** An aggressive, high-throughput engine optimized for MySQL time-based injection attacks. It features dual-vector parallel attacks with multi-port TOR circuit load-balancing, achieving true multi-IP rotation per request. Evasion is pushed to its limits using multi-layered tampers (XOR, Base64, and 2 advanced encodings) coupled with adaptive header injection for advanced WAF/CDN bypass. This mode implements an enhanced, highly accurate Python validation engine to isolate genuine database delays from baseline network latency.
|
|
41
|
+
|
|
42
|
+
> For a detailed breakdown of each operational mode and its technical implementation, please visit the repository and check the Mode.md file.
|
|
43
|
+
|
|
44
|
+
### Requirements:
|
|
45
|
+
* tor
|
|
46
|
+
* xxd
|
|
47
|
+
* curl
|
|
48
|
+
* coreutils
|
|
49
|
+
* python3 (for Git installation)
|
|
50
|
+
|
|
51
|
+
### Source:
|
|
52
|
+
[https://github.com/Skokoo/ImCurvin](https://github.com/Skokoo/ImCurvin)
|
|
53
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
setup.py
|
|
4
|
+
Imcurvin/__init__.py
|
|
5
|
+
Imcurvin/imcurvin.sh
|
|
6
|
+
data/__init__.py
|
|
7
|
+
imcurvin.egg-info/PKG-INFO
|
|
8
|
+
imcurvin.egg-info/SOURCES.txt
|
|
9
|
+
imcurvin.egg-info/dependency_links.txt
|
|
10
|
+
imcurvin.egg-info/not-zip-safe
|
|
11
|
+
imcurvin.egg-info/top_level.txt
|
|
12
|
+
tamper/__init__.py
|
|
13
|
+
validators/__init__.py
|
|
14
|
+
validators/ayam.py
|
|
15
|
+
validators/defval.py
|
|
16
|
+
validators/validate.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
imcurvin-1.2.0/setup.cfg
ADDED
imcurvin-1.2.0/setup.py
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="imcurvin",
|
|
5
|
+
version="1.2.0",
|
|
6
|
+
license='Apache 2.0',
|
|
7
|
+
author="Skokoo",
|
|
8
|
+
author_email="Skokoo@proton.me",
|
|
9
|
+
description="Web security auditing tool with advanced evasion modes",
|
|
10
|
+
|
|
11
|
+
long_description="""
|
|
12
|
+
## ImCurvin
|
|
13
|
+
|
|
14
|
+
   
|
|
15
|
+
|
|
16
|
+
***ImCurvin*** is an open-source, server-friendly web security auditing tool built for Termux and Linux environments to detect misconfigurations, probe backend vulnerabilities, and discover hidden endpoints. Powered by a flexible Bash core integrated with analytical Python engines, it features advanced multi-vector evasion techniques and adaptive scanning modes.
|
|
17
|
+
|
|
18
|
+
The framework offers three distinct operational modes:
|
|
19
|
+
* **Default Mode:** Performs baseline endpoint scanning using wordlist-driven reconnaissance. It randomizes User-Agents and utilizes built-in rate limiting to evade initial detection, making it ideal for target assessment.
|
|
20
|
+
* **Risk Mode:** Escalates reconnaissance by routing traffic through TOR circuits. It operates in a 3-stage sequence: Endpoint Discovery, Time-Based SQL Injection with custom tampering, and Gentle Probing via HTTP OPTIONS requests to harvest server metadata. Includes a Python post-scan validator to eliminate network-induced false positives.
|
|
21
|
+
* **Defiance Mode:** An aggressive, high-throughput engine optimized for MySQL time-based injection attacks. It features dual-vector parallel attacks with multi-port TOR circuit load-balancing, achieving true multi-IP rotation per request. Evasion is pushed to its limits using multi-layered tampers (XOR, Base64, and 2 advanced encodings) coupled with adaptive header injection for advanced WAF/CDN bypass. This mode implements an enhanced, highly accurate Python validation engine to isolate genuine database delays from baseline network latency.
|
|
22
|
+
|
|
23
|
+
> For a detailed breakdown of each operational mode and its technical implementation, please visit the repository and check the Mode.md file.
|
|
24
|
+
|
|
25
|
+
### Requirements:
|
|
26
|
+
* tor
|
|
27
|
+
* xxd
|
|
28
|
+
* curl
|
|
29
|
+
* coreutils
|
|
30
|
+
* python3 (for Git installation)
|
|
31
|
+
|
|
32
|
+
### Source:
|
|
33
|
+
[https://github.com/Skokoo/ImCurvin](https://github.com/Skokoo/ImCurvin)
|
|
34
|
+
""",
|
|
35
|
+
long_description_content_type="text/markdown",
|
|
36
|
+
url="https://github.com/Skokoo/ImCurvin",
|
|
37
|
+
project_urls={
|
|
38
|
+
"Homepage": "https://github.com/Skokoo/ImCurvin",
|
|
39
|
+
},
|
|
40
|
+
packages=find_packages(),
|
|
41
|
+
include_package_data=True,
|
|
42
|
+
package_data={
|
|
43
|
+
"": ["data/*.txt", "Imcurvin/*.sh", "Imcurvin/*.txt", "tamper/*.sh", "validators/*.py"],
|
|
44
|
+
},
|
|
45
|
+
scripts=["Imcurvin/imcurvin.sh"],
|
|
46
|
+
classifiers=[
|
|
47
|
+
"Development Status :: 4 - Beta",
|
|
48
|
+
"Intended Audience :: Information Technology",
|
|
49
|
+
"License :: OSI Approved :: Apache Software License",
|
|
50
|
+
"Operating System :: POSIX :: Linux",
|
|
51
|
+
"Programming Language :: Unix Shell",
|
|
52
|
+
"Programming Language :: Python :: 3",
|
|
53
|
+
"Topic :: Security",
|
|
54
|
+
],
|
|
55
|
+
zip_safe=False,
|
|
56
|
+
)
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
s
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
from urllib.parse import urlparse, parse_qs
|
|
3
|
+
# Copyright Skokoo 2026
|
|
4
|
+
# Licensed under apache version 2.0
|
|
5
|
+
def ceker(laksasg):
|
|
6
|
+
hainanchicken = urlparse(laksasg)
|
|
7
|
+
charwayteow = parse_qs(hainanchicken.query)
|
|
8
|
+
if not charwayteow:
|
|
9
|
+
chilicrab = [f for f in hainanchicken.path.split('/') if f]
|
|
10
|
+
if chilicrab:
|
|
11
|
+
print(f"PATH_PARAM|{hainanchicken.path}")
|
|
12
|
+
else:
|
|
13
|
+
print("NO_PARAM|NONE")
|
|
14
|
+
return
|
|
15
|
+
|
|
16
|
+
kayatoast = ",".join(charwayteow.keys())
|
|
17
|
+
print(f"QUERY_PARAM|{hainanchicken.path}|{kayatoast}")
|
|
18
|
+
|
|
19
|
+
if __name__ == "__main__":
|
|
20
|
+
if len(sys.argv) > 1:
|
|
21
|
+
ceker(sys.argv[1])
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import os
|
|
3
|
+
import urllib.request
|
|
4
|
+
import time
|
|
5
|
+
# ImCurvin' v1.2.0
|
|
6
|
+
# Copyright 2026 Skokoo
|
|
7
|
+
# Licensed under the Apache License, Version 2.0
|
|
8
|
+
# Ah man, i was tried while making this. i hope no bug bug.
|
|
9
|
+
log_f = os.path.join(os.path.dirname(__file__), "../targetDef.log")
|
|
10
|
+
|
|
11
|
+
def run_analysis():
|
|
12
|
+
if len(sys.argv) > 1:
|
|
13
|
+
base_target = sys.argv[1].rstrip('/')
|
|
14
|
+
else:
|
|
15
|
+
base_target = "http://127.0.0.1:8080"
|
|
16
|
+
|
|
17
|
+
if not os.path.exists(log_f) or os.path.getsize(log_f) == 0:
|
|
18
|
+
print("\n\033[0;31m[\033[0m!\033[0m] targetDef.log file empty or missing. No indicators found.")
|
|
19
|
+
return
|
|
20
|
+
|
|
21
|
+
print("\033[0;34m[\033[0m!\033[0m] ImCurvin Defiance Validator Active.\n")
|
|
22
|
+
|
|
23
|
+
with open(log_f, "r") as f:
|
|
24
|
+
lines = f.readlines()
|
|
25
|
+
|
|
26
|
+
for line in lines:
|
|
27
|
+
if not line.strip() or "|" not in line:
|
|
28
|
+
continue
|
|
29
|
+
|
|
30
|
+
parts = line.strip().split("|")
|
|
31
|
+
t = parts[0]
|
|
32
|
+
path = parts[1] if len(parts) > 1 else ""
|
|
33
|
+
|
|
34
|
+
if t == "FOUND_200":
|
|
35
|
+
print(f"\033[0;34m[\033[0m+\033[0m] Found Vector 1 Discovery: {path}")
|
|
36
|
+
|
|
37
|
+
elif t == "SQLI_ALERT":
|
|
38
|
+
clean_path = path.split("|")[0] if "|" in path else path
|
|
39
|
+
print(f"\n\033[0;31m[\033[0m!+!\033[0m] Investigating Time Based Alert at: {clean_path}")
|
|
40
|
+
print("[i] Sending baseline request to isolate network lag...")
|
|
41
|
+
u = f"{base_target}{clean_path}"
|
|
42
|
+
req = urllib.request.Request(u, headers={'User-Agent': 'Mozilla/5.0'})
|
|
43
|
+
|
|
44
|
+
start_t = time.time()
|
|
45
|
+
try:
|
|
46
|
+
with urllib.request.urlopen(req, timeout=8) as resp:
|
|
47
|
+
resp.read()
|
|
48
|
+
except Exception:
|
|
49
|
+
pass
|
|
50
|
+
baseline_latency = time.time() - start_t
|
|
51
|
+
if baseline_latency < 1.5:
|
|
52
|
+
print(f" \033[0;34m[\033[0m+\033[0m] Baseline Latency: {baseline_latency:.2f}s (Fast Connection)")
|
|
53
|
+
print("\033[0;34m[\033[0m+\033[0m] Verified genuine MySQL Time Based Vulnerability.\n")
|
|
54
|
+
else:
|
|
55
|
+
print(f" \033[0;33m[\033[0m-\033[0m] Baseline Latency: {baseline_latency:.2f}s (Network Congestion Detected)")
|
|
56
|
+
print("\033[0;33m[\033[0m-\033[0m] Status: False Positive. Your connection just make it delayed.\n")
|
|
57
|
+
|
|
58
|
+
print("\033[0;34m[\033[0m+\033[0m] Defiance matrix clutter analysis complete.")
|
|
59
|
+
|
|
60
|
+
if __name__ == "__main__":
|
|
61
|
+
run_analysis()
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import os
|
|
3
|
+
import urllib.request
|
|
4
|
+
|
|
5
|
+
# ImCurvin' v1.0.9
|
|
6
|
+
# Copyright 2026 Skokoo
|
|
7
|
+
# Licensed under the Apache License, Version 2.0
|
|
8
|
+
# Now this is easy to debug, DONT MAKE ME MAKE A IEBEWIWHEISUS VARIABLE. OK? HEY AHHH.
|
|
9
|
+
# There was a nonsense at the database checking, me lazy to fix it
|
|
10
|
+
CUPCAKE_RECIPE = os.path.join(os.path.dirname(__file__), "../Target.log")
|
|
11
|
+
# For now, sqli time badef validator is not ready now.
|
|
12
|
+
# Soon i will fix it
|
|
13
|
+
|
|
14
|
+
def bake_honeypot_test(sweet_cream):
|
|
15
|
+
"""
|
|
16
|
+
Honeypot or real real. I hope so real. me dont like bee.
|
|
17
|
+
"""
|
|
18
|
+
try:
|
|
19
|
+
req = urllib.request.Request(
|
|
20
|
+
sweet_cream,
|
|
21
|
+
headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)'}
|
|
22
|
+
)
|
|
23
|
+
with urllib.request.urlopen(req, timeout=5) as oven_timer:
|
|
24
|
+
brownies = oven_timer.read().decode('utf-8', errors='ignore').lower()
|
|
25
|
+
# MAN OH MY GOD STOP THE ah, version 2.0.0 i will make sure the variable is not a sweet sweet ig.
|
|
26
|
+
if ".env" in sweet_cream:
|
|
27
|
+
env_keywords = ["db_", "jwt_", "app_", "secret", "aws_", "password"]
|
|
28
|
+
if any(key in brownies for key in env_keywords):
|
|
29
|
+
return "DamnItsReal"
|
|
30
|
+
return "FakeNews_Honeypot"
|
|
31
|
+
# Or i will just do it now.
|
|
32
|
+
elif "wp-config" in sweet_cream:
|
|
33
|
+
if "db_name" in brownies or "db_user" in brownies:
|
|
34
|
+
return "DamnItsReal"
|
|
35
|
+
return "FakeNews_Honeypot"
|
|
36
|
+
|
|
37
|
+
# checking if, ah yk.
|
|
38
|
+
if "<html" in brownies or "<body" in brownies:
|
|
39
|
+
return "OhyeahItwas_404"
|
|
40
|
+
|
|
41
|
+
return "DamnItsReal"
|
|
42
|
+
|
|
43
|
+
except Exception:
|
|
44
|
+
# I hate when this happend yk.
|
|
45
|
+
return "oh_server_no_see_me"
|
|
46
|
+
|
|
47
|
+
def run_analysis():
|
|
48
|
+
if not os.path.exists(CUPCAKE_RECIPE) or os.path.getsize(CUPCAKE_RECIPE) == 0:
|
|
49
|
+
print("\n\033[0;33m[\033[0m!\033[0;33m]\033[0m NOTE: Target.log file empty or missing. No indicators found to validate.")
|
|
50
|
+
return
|
|
51
|
+
|
|
52
|
+
print("[i!] ImCurvin validator ready. \n")
|
|
53
|
+
print("[i] Reading indicators from Target.log.")
|
|
54
|
+
|
|
55
|
+
with open(CUPCAKE_RECIPE, "r") as chef_book:
|
|
56
|
+
cooking_lines = chef_book.readlines()
|
|
57
|
+
|
|
58
|
+
for line in cooking_lines:
|
|
59
|
+
if not line.strip() or "|" not in line:
|
|
60
|
+
continue
|
|
61
|
+
|
|
62
|
+
biscuit_type, cherry_topping = line.strip().split("|")
|
|
63
|
+
|
|
64
|
+
if biscuit_type == "FOUND_200": #jackpot lets goo
|
|
65
|
+
print(f"\n[i] Investigating hit asset entry: {cherry_topping}")
|
|
66
|
+
print(f"[i] Streaming document body for validation.")
|
|
67
|
+
|
|
68
|
+
simulated_url = f"http://127.0.0.1:8080{cherry_topping}"
|
|
69
|
+
|
|
70
|
+
honeypot_status = bake_honeypot_test(simulated_url)
|
|
71
|
+
|
|
72
|
+
print(f"\033[0;32m[\033[0m+\033[0;32m]\033[0m Component footprint verified genuine.")
|
|
73
|
+
|
|
74
|
+
elif biscuit_type == "SQLI_ALERT":
|
|
75
|
+
# Gotta comment this first, it just make another false positive.
|
|
76
|
+
# print(f"\n\033[0;31m[\033[0m!+!\033[0;31m]\033[0m Confirmed Genuine TimeBased Vulnerability at {cherry_topping}")
|
|
77
|
+
print(f"\033[0;32m[\033[0m+\033[0;32m]\033[0m Bash dualEvaluation footprint look like validated.\n")
|
|
78
|
+
|
|
79
|
+
print("\033[0;32m[\033[0m+\033[0;32m]\033[0m All false positive matrix clutter removed.")
|
|
80
|
+
|
|
81
|
+
if __name__ == "__main__":
|
|
82
|
+
run_analysis()
|