Skip to content

Instantly share code, notes, and snippets.

View CypherpunkSamurai's full-sized avatar
😶
Currently Busy 🌻🐢

Cypherpunk Samurai CypherpunkSamurai

😶
Currently Busy 🌻🐢
View GitHub Profile
@CypherpunkSamurai
CypherpunkSamurai / google-dorks
Created June 30, 2020 03:29 — forked from stevenswafford/google-dorks
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
@CypherpunkSamurai
CypherpunkSamurai / go-ssh-reverse-tunnel.go
Created July 6, 2020 15:25 — forked from codref/go-ssh-reverse-tunnel.go
Go SSH reverse tunnel implementation (SSH -R)
/*
Go-Language implementation of an SSH Reverse Tunnel, the equivalent of below SSH command:
ssh -R 8080:127.0.0.1:8080 [email protected]
which opens a tunnel between the two endpoints and permit to exchange information on this direction:
server:8080 -----> client:8080
Windows 8 Pro Only Offline Activation RETAIL Keys [Retail Edition Only]:
slmgr.vbs -ipk 4NX96-C2K6G-XFD2G-9X4P9-4JMQH
slmgr.vbs -ipk 4NY9C-Q2VW8-84VH3-YPMDY-FF9T7
slmgr.vbs -ipk 9FN3V-HDGGV-7F8K6-FVT9H-QPBQH
slmgr.vbs -ipk BKBGN-M2HWH-3MRQ6-WTJ9X-KP73H
slmgr.vbs -ipk BP4FX-DNGD9-P3FMR-PYR6Q-T6JXV
slmgr.vbs -ipk C37NF-QYM6Y-BVFCR-WMXGV-QPBQH
slmgr.vbs -ipk 3NM39-QTK29-YGY3C-TJ2BJ-K2BQH
slmgr.vbs -ipk 8B3N2-GWPXP-3VFP2-VX69Q-QRPKV
@CypherpunkSamurai
CypherpunkSamurai / winlinks.txt
Created February 13, 2021 21:25
Activator for windows 8.1 links
Windows 8.1 Build 9600 RTM Permanent Activation Via Phone
Download - http://www.mediafire.com/download/7707c2tmgsdw0sv
Continue to install like normal and when asked for a serial enter one of the following (DO NOT ENTER YOUR OWN)
For Windows 8.1 Core: 334NH-RXG76-64THK-C7CKG-D3VPT
For Windows 8.1 Professional: XHQ8N-C3MCJ-RQXB6-WCHYG-C9WKB
Step 6: When you reach the desktop you will notice you are not activated this is fine! Right click the start button and choose "Command Prompt (admin)"
Step 7: Enter slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (Replace the Green X's with your RETAIL Windows 8 key)
@CypherpunkSamurai
CypherpunkSamurai / publish-ghpages.md
Created June 2, 2021 06:55 — forked from tduarte/publish-ghpages.md
If you need to force push an subtree
git checkout master # you can avoid this line if you are in master...
git subtree split --prefix dist -b gh-pages # create a local gh-pages branch containing the splitted output folder
git push -f origin gh-pages:gh-pages # force the push of the gh-pages branch to the remote gh-pages branch at origin
git branch -D gh-pages # delete the local gh-pages because you will need it: ref
@CypherpunkSamurai
CypherpunkSamurai / gh-pages-deploy.md
Created June 2, 2021 06:55 — forked from cobyism/gh-pages-deploy.md
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ace custom autocomplete test</title>
<script src="https://ajaxorg.github.io/ace-builds/src-min-noconflict/ace.js"></script>
<script src="https://ajaxorg.github.io/ace-builds/src-min-noconflict/ext-language_tools.js"></script>
<style>
body {
overflow: hidden;
@CypherpunkSamurai
CypherpunkSamurai / test.cpp
Created July 28, 2021 15:03 — forked from FatalCatharsis/test.cpp
A poco http example
Poco::JSON::Object obj;
obj.set("name", "blah");
obj.set("language", "english");
Poco::URI uri("http://the-uri-you-want-to-request-from");
std::string path(uri.getPathAndQuery());
if (path.empty()) path = "/";
HTTPClientSession session(uri.getHost(), uri.getPort());
HTTPRequest request(HTTPRequest::HTTP_POST, path, HTTPMessage::HTTP_1_1);
@CypherpunkSamurai
CypherpunkSamurai / poco_http_post_headers.cpp
Created July 28, 2021 15:03 — forked from jeffcrouse/poco_http_post_headers.cpp
Poco HTTPPOST request with headers
#include <Poco/Net/HTTPClientSession.h>
#include <Poco/Net/HTTPRequest.h>
#include <Poco/Net/HTTPResponse.h>
#include <Poco/StreamCopier.h>
#include <Poco/Path.h>
#include <Poco/URI.h>
#include <Poco/Exception.h>
using namespace Poco::Net;
using namespace Poco;