Skip to content

Instantly share code, notes, and snippets.

View w00tc's full-sized avatar
😀

Luka Fhal w00tc

😀
View GitHub Profile
let elliptic = require('elliptic');
let ec = new elliptic.ec('secp256k1');
let secp256k1 = require('secp256k1')
let wif = require('wif');
let sha256 = require('js-sha256');
let cargoId = inputs.cargoId;
let information = inputs.information;
console.log(inputs.privateKey);
let privateKey = wif.decode(inputs.privateKey);
@w00tc
w00tc / 1) Active Directory One Liners
Last active April 22, 2024 10:06
Some Pentesting Notes
Retrieves all of the trust relationships for this domain - Does not Grab Forest Trusts
([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()).GetAllTrustRelationships()
Grab Forest Trusts.
([System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest()).GetAllTrustRelationships()