ExploitDB
SearchSploit
Update the Database
Updates the local exploit database.
Update exploit database
searchsploit -u
Search for Exploits
Searches for exploits matching a specific query.
Search for exploits
searchsploit <query>
Copy Exploit to Current Path
Copies an exploit file to the current directory.
Copy exploit file
searchsploit -m <ID> .
Get Information About Exploit
Displays detailed information about an exploit.
Show exploit details
searchsploit -x <ID>
Linux Binaries
Basic Compilation
Compiles a C program into an executable.
Compile C program
gcc <source_file>.c -o <output_file>
Compile for 32-bit Environment
Compiles a C program for a 32-bit architecture.
Compile for 32-bit
gcc -m32 <source_file>.c -o <output_file>
Compile for 64-bit Environment
Compiles a C program for a 64-bit architecture.
Compile for 64-bit
gcc -m64 <source_file>.c -o <output_file>
Windows Binaries
Compile for 32-bit Environment
Compiles a C program into a 32-bit Windows executable.
Compile Windows 32-bit executable
i686-w64-mingw32-gcc -o <output_file>.exe <source_file>.c
Compile for 64-bit Environment
Compiles a C program into a 64-bit Windows executable.
Compile Windows 64-bit executable
x86_64-w64-mingw32-gcc -o <output_file>.exe <source_file>.c
Python to Executable
Converts a Python script into a standalone executable.
Convert Python to executable
pyinstaller --onefile <script>.py