From 8dca333f09dffed133c0733dad8ac85f9e56f7b8 Mon Sep 17 00:00:00 2001 From: narstybits Date: Sat, 27 May 2023 20:31:35 -0500 Subject: [PATCH] Added Silent Server --- Obscurity/Silent Server Creator.txt | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Obscurity/Silent Server Creator.txt diff --git a/Obscurity/Silent Server Creator.txt b/Obscurity/Silent Server Creator.txt new file mode 100644 index 0000000..f5f223d --- /dev/null +++ b/Obscurity/Silent Server Creator.txt @@ -0,0 +1,37 @@ +REM Script that uses obfuscation to stealthily create a local HTTP server +REM hosting a simple web page on the machine. +REM access the server by opening a web browser and navigating to localhost:9090 + + + +REM Creates a new directory in the tmp folder named "ghost_server" +REM Creates a new HTML file named "index.html" with the message "Hello, this is the Silent Server!". +REM Starts a http.server server using Python's built-in SimpleHTTPServer module on port 9090. +REM The nohup command allows the server to continue running even after the terminal is closed +REM the output is redirected to /dev/null so that it doesn't appear in the terminal. + +REM Author: Narsty +REM Title: Silent Server Creator +REM Target: MacOS +REM Version: 1.0 +REM Category: Obscurity + +ID 05ac:021e Apple:Keyboard +DELAY 500 +GUI SPACE +DELAY 500 +STRING Terminal +DELAY 500 +ENTER +DELAY 500 +STRING mkdir /tmp/ghost_server && cd /tmp/ghost_server +ENTER +DELAY 500 +STRING echo '

Hello, this is the Phantom Server!

' > index.html +ENTER +DELAY 500 +STRING nohup python3 -m http.server 9090 > /dev/null 2>&1 & +ENTER +DELAY 500 + +