Skip to content

Commit

Permalink
v1.17 patch 3
Browse files Browse the repository at this point in the history
  • Loading branch information
StupidRepo committed Jul 19, 2023
1 parent e31ea30 commit 562817c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions offset.mcscan
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1
0
0
59
20
130
13 changes: 9 additions & 4 deletions src/com/stupidrepo/mcscanner/MCScanner.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,19 @@ public void windowClosing(java.awt.event.WindowEvent windowEvent) {
}
}

for (int i = offsetI; i <= maxRange; ++i) {
int thisOffsetI = offsetI;
int thisOffsetJ = offsetJ;
int thisOffsetK = offsetK;
int thisOffsetL = offsetL;
for (int i = thisOffsetI; i <= maxRange; ++i) {
offsetI = i;
for (int j = offsetJ; j <= 255; ++j) {
for (int j = thisOffsetJ; j <= 255; ++j) {
offsetJ = j;
for (int k = offsetK; k <= 255; ++k) {
for (int k = thisOffsetK; k <= 255; ++k) {
offsetK = k;
for (int l = offsetL; l <= 255; ++l) {
for (int l = thisOffsetL; l <= 255; ++l) {
offsetL = l;
System.out.println(String.format("%d%d%d%d", i, j, k, l));
String ip = i + "." + j + "." + k + "." + l;

ScannerThread scannerThread = new ScannerThread(ip, port, timeout, databaseHandler);
Expand Down

0 comments on commit 562817c

Please sign in to comment.