Skip to content

Instantly share code, notes, and snippets.

View ycamper's full-sized avatar
💨
<- what is this icon?

Yellow Camper ycamper

💨
<- what is this icon?
View GitHub Profile
@ycamper
ycamper / CVE-2021-44228_IP_CENSYS.csv
Last active December 22, 2021 00:32 — forked from gnremy/CVE-2021-44228_IPs.csv
CVE-2021-44228 Apache Log4j RCE Attempts Dec 10th 3:40PM ET
We can't make this file beautiful and searchable because it's too large.
ip,asn,asn_name,protocol,port,service_name,banner
"162.155.56.106",10796,"TWC-10796-MIDWEST","TCP",443,"HTTP","HTTP/1.0 200 OK
Date: <REDACTED>
Server: Embedded HTTP Server.
Connection: close
Content-Type: text/html; charset=""ISO-8859-1"""
"162.155.56.106",10796,"TWC-10796-MIDWEST","TCP",1194,"OPENVPN",
"162.155.56.106",10796,"TWC-10796-MIDWEST","TCP",1723,"PPTP","linux local 1.0 0.1"
"213.142.150.93",60721,"BURSABIL","TCP",22,"SSH","SSH-2.0-OpenSSH_7.4"
"211.154.194.21",4808,"CHINA169-BJ China Unicom Beijing Province Network","TCP",22,"SSH","SSH-2.0-OpenSSH_7.4"
@ycamper
ycamper / git-safeclean.go
Last active January 28, 2021 20:09
backup untracked files in git before you rm it
package main
// type go build git-safeclean.go and put it somewhere in your $PATH
// then before you type `git clean -fdx`, run `git safeclean`
import (
"bufio"
"bytes"
"fmt"
"os"