Skip to content

Instantly share code, notes, and snippets.

View iss4cf0ng's full-sized avatar
🫠

ISSAC iss4cf0ng

🫠
View GitHub Profile
@iss4cf0ng
iss4cf0ng / bo_decoder.py
Created February 26, 2026 04:18
A script for decoding the XOR channel of Back Orifice 2000
'''
Acknowledgement: https://github.com/iss4cf0ng/
'''
import collections
def decoder(packet):
# Frequency Analysis
payload = packet[8:]
chunks = []
for i in range(0, len(payload) - 3, 4):
@iss4cf0ng
iss4cf0ng / copy.go
Last active February 18, 2026 13:13
Copy an array
packate main
import "fmt"
func main() {
x := []int{1, 2, 3, 4}
d := [4]int{5, 6, 7, 8}
y := make([]int, 2)
copy(y, d[:])
fmt.Println(y)
@iss4cf0ng
iss4cf0ng / slice_append.go
Created February 18, 2026 11:51
odd scenario while learning go-lang
package main
import "fmt"
func main() {
x := []int{1, 2, 3, 4}
y := x[:2]
fmt.Println(cap(x), cap(y))
y = append(y, 30)