Skip to content

Instantly share code, notes, and snippets.

View 003random's full-sized avatar
:shipit:
../../../dev/random

003random 003random

:shipit:
../../../dev/random
View GitHub Profile
{
"schema": "attack_flow_v2",
"theme": "dark_theme",
"objects": [
{
"id": "flow",
"instance": "34b905d2-8943-4243-a78c-d6d8de28b586",
"properties": [
[
"name",
alert(document.domain);
package main
import (
"log"
"net"
"os"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
"github.com/google/gopacket/pcap"
package main
import (
"fmt"
"log"
"net"
"os"
"time"
"github.com/google/gopacket"
<img src=x onerror=alert(0)>
@003random
003random / ssrf.go
Created December 8, 2019 20:09
Golang SSRF Protection & Prevention Using a Whitelist
package main
import (
"context"
"errors"
"log"
"net"
"net/http"
"strings"
"time"
@003random
003random / main.go
Last active December 7, 2020 15:15
Golang SSRF protection IPv4
package main
import (
"context"
"errors"
"log"
"net"
"net/http"
"strings"
"time"
@003random
003random / ssrf.go
Last active October 24, 2024 16:17
Golang SSRF Protection/Prevention
package main
import (
"context"
"errors"
"log"
"net"
"net/http"
"strings"
"time"
package main
import (
"github.com/miekg/dns"
"net"
"os"
"log"
"fmt"
)
@003random
003random / SSL_CERT_INFO.go
Last active June 25, 2019 18:34
Displays SSL Certificate Info. Every property is either a string or a int. No objects, for easy storing.
package main
import (
"fmt"
"os"
"net"
"bytes"
"strings"
"encoding/pem"
"crypto/tls"