Skip to content

Instantly share code, notes, and snippets.

View safebuffer's full-sized avatar
🎩
Going to release some tools soon ..

H*s*m safebuffer

🎩
Going to release some tools soon ..
View GitHub Profile
@safebuffer
safebuffer / gophish.conf
Created December 19, 2021 19:34
gophish nginx config
upstream gophish_admin{
server 0.0.0.0:8090;
}
upstream gophish_main{
server 0.0.0.0:8080;
}
server {
listen 80;
charset utf-8;
@safebuffer
safebuffer / CVE-2021-41773.nse
Created October 5, 2021 18:42
CVE-2021-41773 nmap
local nmap = require "nmap"
local shortport = require "shortport"
local sslcert = require "sslcert"
local string = require "string"
local vulns = require "vulns"
local http = require "http"
description = [[
CVE-2021-41773
@safebuffer
safebuffer / mix.py
Created October 3, 2021 15:41
mixed-content finder (i don't remember why i created this script)
import re
import requests
from bs4 import BeautifulSoup
import urllib3
import sys
urllib3.disable_warnings()
from multiprocessing.dummy import Pool
import coloredlogs, logging as log
@safebuffer
safebuffer / install.sh
Created September 7, 2021 10:00
Install FortiClient 7.0 VPN on Kali Linux
curl -p --insecure "http://ftp.br.debian.org/debian/pool/main/liba/libappindicator/libappindicator1_0.4.92-8_amd64.deb" --output libappindicator1_0.4.92-8_amd64.deb
curl -p --insecure "http://ftp.br.debian.org/debian/pool/main/libi/libindicator/libindicator7_0.5.0-4_amd64.deb" --output libindicator7_0.5.0-4_amd64.deb
wget https://filestore.fortinet.com/forticlient/downloads/forticlient_vpn_7.0.0.0018_amd64.deb
sudo dpkg -i libindicator7_0.5.0-4_amd64.deb
sudo apt-get install libdbusmenu-gtk4
sudo apt-get install libgconf-2-4
sudo dpkg -i libappindicator1_0.4.92-8_amd64.deb
sudo dpkg -i forticlient_vpn_7.0.0.0018_amd64.deb
@safebuffer
safebuffer / burp.py
Created July 18, 2021 09:13
Dynamic x-nonce for Oracle Banking Digital Experience
from burp import IBurpExtender
from burp import ISessionHandlingAction
from burp import ITab
import sys
import json
sys.path.append('/usr/local/lib/python2.7/dist-packages')
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
@safebuffer
safebuffer / UnloadSysmon.cpp
Created May 2, 2021 21:23
Unload Sysmon driver
#include <Windows.h>
#include <fltuser.h>
#pragma comment(lib,"FltLib.lib")
typedef NTSTATUS(NTAPI* _RtlAdjustPrivilege)(ULONG Privilege, BOOL Enable, BOOL CurrentThread, PULONG WasEnabled);
int main()
{
HRESULT unload;
ULONG WasEnabled;
HMODULE hNtdll = NULL;
LPCWSTR SYSMONDRIVER = L"SysmonDrv";
@safebuffer
safebuffer / word_dde.py
Created April 12, 2021 22:10
Generate DDE Word.docx
# -*- coding: utf-8 -*-
import win32com.client
import os
import argparse
def closeallword():
try:
objWord = win32com.client.Dispatch("Word.Application")
objWord.Application.Quit()
@safebuffer
safebuffer / asn_to_ips.py
Created April 12, 2021 21:50
ASN To IP List
import argparse
import time
import os
import platform
from requests import get as http_get
from netaddr import IPNetwork
def logprint(string):
now = time.time()
@safebuffer
safebuffer / name2username.py
Created October 9, 2020 17:41
Names to Usernames
#!/usr/bin/env python
import itertools
import sys
def GenerateUsername(name):
USERNAMES = []
try:
import unidecode
name = unidecode.unidecode(name)
except Exception as e:

Keybase proof

I hereby claim:

  • I am wazehell on github.
  • I am wazehell (https://keybase.io/wazehell) on keybase.
  • I have a public key ASAk9fsbMBTWHcWZHQKn-r9xMjtErAdcXadEEPRzG0IGFQo

To claim this, I am signing this object: