Skip to content

Instantly share code, notes, and snippets.

View 0x00009b's full-sized avatar
💭
*static tv sounds*

0x00009b 0x00009b

💭
*static tv sounds*
View GitHub Profile
#Creating an .onion service in the Tor network is as simple as editing /etc/tor/torrc and adding:
HiddenServiceDir /var/lib/tor/www_service/
HiddenServicePort 80 127.0.0.1:80
# After restarting the tor service with
sudo service tor restart
# or
sudo service tor reload
# The directory will be created automagically, and inside the new directory, two files are generated, hostname and private_key.
sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot python3-certbot-apache
sudo certbot --apache
@0x00009b
0x00009b / troll
Created November 12, 2020 13:27
Python script to print a troll face add to your /bin and chmod +x troll then your good to go
#!/usr/bin/env python3
print("""
░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄
░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄
░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█
░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░█
░▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░█
█▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒█
█▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█
<?php if (!defined('PmWiki')) exit();
$WikiTitle = "My New Wiki";
$PageLogoUrl = "http://example.com/mylogo.gif";
# Uncomment and correct these if PmWiki fails to detect the browser-reachable URLs
#$ScriptUrl = 'http://example.com/pmwiki/pmwiki.php';
#$PubDirUrl = 'http://example.com/pmwiki/pub';
$DefaultPasswords['admin'] = pmcrypt('onesecret');
(==( )==)
`-.`. ,',-'
_,-'"
,-',' `.`-.
(==( )==)
`-.`. ,',-'
_,-'"
,-',' `.`-.
(==( )==)
`-.`. ,',-'
...
;::::;
;::::; :;
;:::::' :;
;:::::; ;.
,:::::' ; OOO\
::::::; ; OOOOO\
;:::::; ; OOOOOOOO
,;::::::; ;' / OOOOOOO
;:::::::::`. ,,,;. / / DOOOOOO
@0x00009b
0x00009b / cheat sheet
Created January 22, 2021 16:02
a cheat sheet i made for helping to teach a friend of mine the linux command line
+------------------------------------------------------+
Linux command cheat sheet
+------------------------------------------------------+
COMMAND DESCRIPTION
echo "text" ------ echos text (eg echo "hello world" )
uname -a ------- Show system and kernel
head -n1 /etc/issue ---- Show distribution
@0x00009b
0x00009b / .bashrc
Last active February 8, 2021 19:00
#!/bin/bash
# enp's epic .bashrc file
#it's open source duh
# {{{ History
# don't put duplicate lines in the history. See bash(1) for more options
# don't overwrite GNU Midnight Commander's setting of `ignorespace'.
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
# ... or force ignoredups and ignorespace
--[[
Awesome WM configuration template
github.com/lcpz
--]]
-- {{{ Required libraries
local awesome, client, mouse, screen, tag = awesome, client, mouse, screen, tag
local ipairs, string, os, table, tostring, tonumber, type = ipairs, string, os, table, tostring, tonumber, type
#!/bin/bash
systemctl enable sshd #make shure
mkfs.ext4 /dev/vda2
mount /dev/vda2 /mnt
pacstrap /mnt base linux-hardened linux-hardened-headers arch-install-scripts
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt <<"EOT"
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen
echo "LANG=en_US.UTF-8" >> /etc/locale.conf