Skip to content

Instantly share code, notes, and snippets.

jayluxferro /
Last active July 6, 2024 16:33
Kali Desktop Environments Installation and Removal

XFCE Desktop

How to install XFCE Desktop Environment in Kali Linux:


apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies

How to remove XFCE in Kali Linux:


jayluxferro /
Last active June 14, 2024 19:38
List of Hacking Websites and Forums
jayluxferro /
Created October 13, 2022 15:22
Fix for Kali apt-key deprecation warning when updating system

Run the command below to fix apt-key deprecation warning in Kali

sudo apt-get update

sudo apt-get install \
    ca-certificates \
    curl \
    gnupg \
jayluxferro /
Last active August 21, 2023 23:09
WireGuard Installer
if [ $(whoami) != 'root' ]; then
echo 'Please run as root'
exit 1
# install wireguard
apt install resolvconf wireguard wireguard-tools -y
jayluxferro / Aircrack Commands
Last active August 22, 2022 23:14 — forked from victorreyesh/Aircrack Commands
Cracking WPA2 / WEP Wifi / Aircrack 10 seconds guide. For Mac OSX
//Install Macports.
//Install aircrack-ng:
sudo port install aircrack-ng
//Install the latest Xcode, with the Command Line Tools.
//Create the following symlink:
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
//Figure out which channel you need to sniff:
sudo airport -s
sudo airport en1 sniff [CHANNEL]
jayluxferro /
Created June 13, 2018 12:45
OpenWrt Virtualbox
  1. Download and install VirtualBox
  2. Get an OpenWrt image:
  3. Either use an existing image,
  4. Download the generic combined image for x86 (32-bit), e.g. chaos_calmer/15.05.1/x86/) LEDE 17.01.1 x86
  5. Download the generic combined image for x86_x64 (64-bit), e.g. chaos_calmer/15.05.1/x86/64) LEDE 17.01.1 x86_x64
  6. Uncompress the image if needed: gunzip openwrt.img.gz
  7. Convert it to native VirtualBox format:
VBoxManage convertfromraw --format VDI openwrt.img openwrt.vdi (in virtualbox version 5.0.12 the "--format VDI" is at the end of command)
jayluxferro / ExpandDefenderSig.ps1
Created March 28, 2019 21:21 — forked from mattifestation/ExpandDefenderSig.ps1
Decompresses Windows Defender AV signatures for exploration purposes
filter Expand-DefenderAVSignatureDB {
Decompresses a Windows Defender AV signature database (.VDM file).
Expand-DefenderAVSignatureDB extracts a Windows Defender AV signature database (.VDM file). This function was developed by reversing mpengine.dll and with the help of Tavis Ormandy and his LoadLibrary project ( Note: Currently, "scrambled" databases are not supported although, I have yet to encounter a scrambled database. Thus far, all databases I've encountered are zlib-compressed.
jayluxferro /
Created March 3, 2021 11:25
Cluster size for wireless networks
#!/usr/bin/env python
list = []
def n(i, j):
return (i ** 2) + (j ** 2) - (i * j)
for x in range(1, 11):
for y in range(x + 1):
_n = n(x, y)
jayluxferro / pcap2wav
Created May 4, 2019 19:52 — forked from avimar/pcap2wav
Convert raw PCAP files into a .wav file
# pcap2wav
# Original Author: Michael Collins <>
#Standard disclaimer: batteries not included, your mileage may vary...
# Updated by Avi Marcus <>
# Accepts arg of pcap file w/only 2 RTP streams
# Creates a .<codec> file and a .wav file
# For codecs other than PCMA and PCMU the script calls fs_cli and does a little recording to create the wav file(s)
jayluxferro /
Last active October 18, 2020 21:54
binwalk installer
# root access
if [ $(whoami) != 'root' ];
echo 'Please run as root'
exit 1
apt-get install python3 python3-pip python3-crypto python3-numpy python3-scipy python3-pip mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsswap squashfs-tools sleuthkit default-jdk lzop srecord zlib1g-dev liblzma-dev liblzo2-dev git -y