Skip to content

Instantly share code, notes, and snippets.

Avatar
🌏
rebuilding my planet Krypton again

Krypton kkrypt0nn

🌏
rebuilding my planet Krypton again
View GitHub Profile
@kkrypt0nn
kkrypt0nn / arp.go
Last active June 20, 2023 08:40
A very minimalist ARP spoofer written in Go for my blog post available at https://krypton.ninja/What-is-ARP-Spoofing
View arp.go
package main
import (
"net"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
)
type Address struct {
@kkrypt0nn
kkrypt0nn / ansi-colors-discord.md
Last active September 19, 2023 20:23
A guide to ANSI on Discord
View ansi-colors-discord.md

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
View keybase.md

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: