Skip to content

Instantly share code, notes, and snippets.

View catthehacker's full-sized avatar

Ryan catthehacker

View GitHub Profile
#!/bin/bash
sudo swapoff -a
sudo rm -f /swapfile
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/share/dotnet/
sudo rm -rf "$ANDROID_SDK_ROOT"
sudo rm -rf /usr/local/lib/android
sudo rm -rf "$SWIFT_PATH"
param(
[int64]$i = 1,
[string]$PHPSESSID = '',
[string]$ARP = '0',
[string]$CFUUID = '',
[string]$type = 'world_link'
)
do {
Write-Progress -Activity ('Grabbing page: ' + $i)
$Headers = @{
@catthehacker
catthehacker / workflow.yml
Last active May 4, 2021 06:32
Docker on macOS on GitHub Actions taken from https://github.com/nektos/act
test-macos:
name: Test on MacOS
runs-on: macos-latest
continue-on-error: true # Don't let macos test fail whole workflow
env:
ISO_PATH: ~/.docker/machine/cache/boot2docker.iso
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1
with:
BEGIN MESSAGE.
hC4Iv3vVEyjSQZx dlKmOZJgS4DPwjz qqSU5A5EdBUmvMq KmXqlSQlDjg6TpX
RWKVljzQv3Cb814 agLl1ph4mUKTCKq 6Xr2MZHgg79p2Od 74I2sjeDzpmmxyn
MCDSeXvYRD9Sczd L4TGbJmZvqkQxb4 zUV5u1BVkLEAGou h0BoPOVQtnR14Lk
34qnF1kWoniDo5y maV7wqFgfJV6ctS Fn2Rj2BwlTVlNtt .
END MESSAGE.
@catthehacker
catthehacker / powershell-web-server.ps1
Created January 5, 2020 16:03 — forked from 19WAS85/powershell-web-server.ps1
A simple web server built with powershell.
# This is a super **SIMPLE** example of how to create a very basic powershell webserver
# 2019-05-18 UPDATE — Created by me and and evalued by @jakobii and the comunity.
# Http Server
$http = [System.Net.HttpListener]::new()
# Hostname and port to listen on
$http.Prefixes.Add("http://localhost:8080/")
# Start the Http Server
,,\A
,ee%hhee, y%e *\A
y^ ,, ^%hhhhhee,,,e%\A
% *h ,e%hhh%*%*^!e%^ ^%,\A
hhh yhh h\A
%hhh yhhh ^**^\A
hhh hhhe^ %hh ,eh^ %hh eeh *hhe *%hhh ^%hh% y%h h,\A
%hhh %hhh hhh %hh %hh yhhh yhhh yhhh %hh %hh eh\A
hhh hhh %hhh %hhh yhhh hhh %hh hhh yhh% %hhh,%*\A
%hhh %hhh %hh ^^ ,,eh% *^ ,,e%h%^ %hhh %hh hhhe^\A

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: