Skip to content

Instantly share code, notes, and snippets.

View pwgit-create's full-sized avatar

Peter Westin pwgit-create

View GitHub Profile
@pwgit-create
pwgit-create / BackdoorFinder.java
Created May 4, 2024 20:13
Detecting backdoors on Linux x64 systems
import java.io.*;
import java.util.*;
public class BackdoorFinder {
public static void main(String[] args) {
File file = new File("/etc"); // Good Starting point. Change here if you want another root folder to start from.
if (file.exists() && !file.isDirectory()) {
System.out.println("File is not a directory");
return;
}