Skip to content

Instantly share code, notes, and snippets.

View santatic's full-sized avatar
🐢
Working from home

Santatic santatic

🐢
Working from home
View GitHub Profile
@santatic
santatic / bootstrap.ps1
Created December 16, 2020 23:41 — forked from cpascual/bootstrap.ps1
recipe for installing taurus dependencies on Windows 10 using conda
# Powershell script for installing taurus dependencies on a windows10 machine using conda
# I use it for provisioning a vagrant win10 machine
# Install SSL as a workaround for conda bug https://github.com/conda/conda/issues/6064
echo "Installing SSL"
wget "https://slproweb.com/download/Win64OpenSSL-1_1_1a.msi" -OutFile "$env:TMP\SSL.msi"
msiexec /quiet /i "$env:TMP\SSL.msi"
echo "Downloading conda"
$condainstallerurl = "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe"
$condainstaller = "$env:TMP\\Miniconda3-latest-Windows-x86_64.exe"
setup bios
disable secure boot control
enable csm & disable pxe oprom policy
wifi-menu
ping -c3 www.google.com
lsblk
cfdisk /dev/sda
mkfs.ext4 /dev/sda7
mkfs.ext4 /dev/sda8
@santatic
santatic / arch-linux-install
Last active September 21, 2019 16:06 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# Tutorial: http://gloriouseggroll.tv/arch-linux-efi-install-guide/
# Download the archiso image from https://www.archlinux.org/
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
@santatic
santatic / JSRat.ps1
Created January 25, 2016 14:46
Fileless JavaScript Reverse HTTP Shell
<#
Author: Casey Smith @subTee
License: BSD3-Clause
.SYNOPSIS
Simple Reverse Shell over HTTP. Execute Commands on Client.
@santatic
santatic / mdel.lua
Created November 2, 2015 08:08 — forked from vivekhub/mdel.lua
Implementing MDEL in Redis
--!/usr/bin/env lua
local delpattern = KEYS[1]
local count = 0
local valuelist = redis.call('keys', delpattern)
if valuelist then
for i = 1, #valuelist do
redis.call('del', valuelist[i])
count = count + 1
end
@santatic
santatic / reset.js
Last active September 28, 2015 09:52 — forked from estliberitas/reset.js
Node.js script which makes Tor change identity (i.e. IP address)
/**
* Created with IntelliJ IDEA.
* User: Alexander <estliberitas> Makarenko
* Date: 04.01.13
* Time: 3:25
*/
// http://stackoverflow.com/questions/19498796/how-to-let-tor-change-ip-in-nodejs
// $ nodejs tor-identity.js /home/ubuntu/.tor/control_auth_cookie