Skip to content

Instantly share code, notes, and snippets.

View page2me's full-sized avatar

page2me kitarotao page2me

View GitHub Profile
function Invoke-UACBypass {
<#
.SYNOPSIS
Bypasses UAC on Windows 10 by abusing the SilentCleanup task to win a race condition, allowing for a DLL hijack without a privileged file copy.
Author: Matthew Graeber (@mattifestation), Matt Nelson (@enigma0x3)
License: BSD 3-Clause
Required Dependencies: None
Optional Dependencies: None
@page2me
page2me / decode.py
Created April 26, 2017 18:47 — forked from windows98SE/decode.py
test
#/usr/bin/python3
import base64
data = b''
with open("decode.txt", "wb") as fh:
fh.write(base64.decodestring(data))
@page2me
page2me / mikrotik.py
Created April 26, 2017 18:45 — forked from windows98SE/mikrotik.py
mikrotik basic login script
#!/usr/bin/env python
'''
mikrotik basic login script
'''
import re
import requests
from md5 import md5
USER = 'i am groot'
@page2me
page2me / ballot.sol
Created March 7, 2017 07:52 — forked from anonymous/ballot.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.9+commit.364da425.js&optimize=undefined&gist=
pragma solidity ^0.4.0;
contract Ballot {
struct Voter {
uint weight;
bool voted;
uint8 vote;
address delegate;
}
struct Proposal {