Skip to content

Instantly share code, notes, and snippets.

View kkrypt0nn's full-sized avatar
🔱
the only easy day was yesterday

Krypton kkrypt0nn

🔱
the only easy day was yesterday
View GitHub Profile
@kkrypt0nn
kkrypt0nn / arp.go
Last active March 27, 2024 11:24
A very minimalist ARP spoofer written in Go for my blog post available at https://krypton.ninja/What-is-ARP-Spoofing
package main
import (
"net"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
)
type Address struct {
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active April 24, 2024 09:14
A guide to ANSI on Discord

A guide to ANSI on Discord

Discord is now slowly rolling out the ability to send colored messages within code blocks. It uses the ANSI color codes, so if you've tried to print colored text in your terminal or console with Python or other languages then it will be easy for you.

Quick Explanation

To be able to send a colored text, you need to use the ansi language for your code block and provide a prefix of this format before writing your text:

\u001b[{format};{color}m

\u001b is the unicode escape for ESCAPE/ESC, meant to be used in the source of your bot (see ). If you wish to send colored text without using your bot you need to copy the character from the website.

@kkrypt0nn
kkrypt0nn / keybase.md
Last active September 12, 2021 10:55

Keybase proof

I hereby claim:

  • I am kkrypt0nn on github.
  • I am kkrypt0nn (https://keybase.io/kkrypt0nn) on keybase.
  • I have a public key ASCiMcJKoWf0yjjy9EBxOym_-ZCTPk9SzhDJcftfQ16Kmgo

To claim this, I am signing this object: