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
// THANK YOU 0xBANANA FOR THIS SOLANA NFT EDITION MINTER | |
// RUN THIS WITH 'node main.mjs' AT YOUR COMMAND LINE | |
import { Metaplex, keypairIdentity } from "@metaplex-foundation/js"; | |
import { TokenStandard } from '@metaplex-foundation/mpl-token-metadata' | |
import { Connection, Keypair } from "@solana/web3.js"; | |
import bs58 from "bs58"; | |
const connection = new Connection( | |
"https://rpc.helius.xyz/?api-key=YOUR_API_KEY_GOES_HERE" |
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
# | |
# Class C device discovery in under 5 seconds. | |
# Notice that it will display information on any MAC address that nmap knows about. It's helpful to keep this updated. | |
# You can also add any MAC address OIDs that are newer or unknown to the file /usr/share/nmap/nmap-mac-prefixes. | |
# | |
# How to call this script: | |
# nmap -n -sP --excludefile $PROJECT_ROOT/output/known.skip 10.10.100-103.1-255 | awk -f $PROJECT_ROOT/mac-sort.awk | |
# | |
BEGIN { PROJECT_PATH="/path/to/scripts"; } |
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
strComputer = InputBox ("Enter Machine Name") | |
Set objWMIService = GetObject("winmgmts:" _ | |
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") | |
Set colTSSettings = objWMIService.InstancesOf("Win32_TerminalServiceSetting") | |
For Each colTS in colTSSettings | |
colTS.SetAllowTSConnections(1) | |
Wscript.Echo UCase(strComputer) & "Remote Desktop Is Now Enabled" | |
Next |
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 tweepy | |
import time | |
import datetime | |
import requests | |
import uuid | |
import pymongo | |
from pymongo import MongoClient | |
def limit_handler(cursor): |
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 os | |
import tweepy | |
from flask import Flask | |
# Authenticate to Twitter | |
auth = tweepy.OAuthHandler("API KEY", "API SECRET") | |
auth.set_access_token("TOKEN", "SECRET") | |
# Create API object |
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
function deleteNextConversation() | |
{ | |
if (!(dm = document.getElementsByClassName("DMInbox-conversationItem")[0])) { | |
clearInterval(tmr) | |
return; | |
} | |
dm.firstChild.click(); | |
setTimeout('document.getElementsByClassName("js-actionDeleteConversation")[0].click()', 1000); | |
setTimeout('document.getElementById("confirm_dialog_submit_button").click()', 2000); |
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 | |
#__________________________________________________________ | |
# Author: phillips321 contact through phillips321.co.uk | |
# License: CC BY-SA 3.0 | |
# Use: All in one pentest script designed for bt5 | |
# Released: www.phillips321.co.uk | |
version=7.0 | |
# Dependencies: | |
# nmap | |
# sslscan |
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
echo | openssl s_client -showcerts -servername yourdomain[.]com -connect yourdomain[.]com:443 2>/dev/null | openssl x509 -inform pem -noout -text |
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 YOUR_LIBRARY_HERE | |
def get_methods(object, spacing=20): | |
methodList = [] | |
for method_name in dir(object): | |
try: | |
if callable(getattr(object, method_name)): | |
methodList.append(str(method_name)) | |
except: | |
methodList.append(str(method_name)) |
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/env python3 | |
import tweepy | |
import pandas as pd | |
# Config | |
consumer_key = 'xxx' | |
consumer_secret = 'xxx' | |
access_token = 'xxx' | |
access_token_secret = 'xxx' | |
list_name = 'blockList' |
NewerOlder