Skip to content

Instantly share code, notes, and snippets.

View SkaTeMasTer's full-sized avatar

$hawn Reimerdes SkaTeMasTer

View GitHub Profile
#!/bin/bash
LOCALWEBDIR="/var/www/html/imagesWSJ"
LOCALPDFDIR="/var/www/html/WallStreetJournal"
IPWEBSERVER="ip23df2-30.eu"
DROPBOXDIR="/_TempWSJ/"
FILETORRENTS="/home/user/Downloads/WSJ"
TMPDIR="/home/user/Downloads/WSJ-temp"
HOMEDIR="$HOME/WSJtoDropbox"
EMAILTO=""
@SkaTeMasTer
SkaTeMasTer / WSJ-email-template.html
Last active July 14, 2020 16:40
Upload & Share the latest file to dropbox and email the share url...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body style="margin: 0; padding: 0;">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
@SkaTeMasTer
SkaTeMasTer / meta-tags.md
Created March 6, 2019 01:05 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@SkaTeMasTer
SkaTeMasTer / kali-linux-metapackages
Created February 17, 2019 22:30
Kali Linux Metapackages [TOP 10 Packages for KALI PI LINUX] -- source: https://www.kali.org/news/kali-linux-metapackages/
List of Packages to add after installing KaliPi:
==================================================
kali-linux (1.5 GB)
kali-linux-all (15 GB)
kali-linux-forensic (3.1 GB)
kali-linux-full (9.0 GB) -- comes with default install
kali-linux-gpu (4.8 GB) -- extra gpu cracking tools
kali-linux-pwtools (6.0 GB) -- password cracking utilities w/ gpu package
kali-linux-rfid (1.5 GB)
@SkaTeMasTer
SkaTeMasTer / command-line.sh
Created February 16, 2019 06:48
KALI error FIX: Cannot update Kali Linux due to invalid signatures. To fix the issue we had to get a fresh copy of the archive key for Kali repositories and import it into apt.
KALI reports the following error message about PGP key on apt-get:
"The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>"
To fix, execute the command:
$ wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add;
@SkaTeMasTer
SkaTeMasTer / bitnami-apache2-sudomains--httpd.conf
Last active February 16, 2019 06:41
How to on Bitnami Apache Instance (a la Amazon) help with adding new sub-domains to Apache2.
(1) Find Apache httpd.conf (Bitnami’s setup it’s /opts/bitnami/apache2/conf).
$ sudo nano /opts/bitnami/apache2/conf/httpd.conf
(2) Set up subdomains, you must the add new Virtual Host directive properties:
(a) required: a <VirtualHost> for the main www,
@SkaTeMasTer
SkaTeMasTer / unique-shell.commands
Created February 9, 2019 22:25
INITITIALIZE a new shell environmrent, just cosmetic: create uniquely identifiable shell, it gets confusing dealing with many sessions in parallel
# creat a banner with your DOMAIN NAME in the MOTD (/etc/motd)
# so when you login you can quickly know you are on the correct server
sudo apt-get -y install toilet
sudo chmod 777 /etc/motd
sudo toilet --gay bitcoinaffiliates.net > /etc/motd
VANITY GENERATORS
(+) ExploitAgency's (80+ coins) -- https://github.com/exploitagency/vanitygen-plus
>> vanitygen.exe -C LTC -o results.txt -i -k lTEST
(+) TRON -- https://github.com/sonicskye/tron-vanity-address
@SkaTeMasTer
SkaTeMasTer / send_gmail_RPI.py
Created September 23, 2018 21:27
Send a email via google gmail.
# Email IP addresses
import os
import sys
import smtplib
# CONSTANTS:
storage_dir = os.path.dirname(os.path.realpath(__file__))
message = 'Network Change detected:\n'
@SkaTeMasTer
SkaTeMasTer / removing-slice-systemd-logging-messsages.txt
Created August 30, 2018 04:16
How to remove the user slice messages on my raspberry pi. (every five mins it writes to log)
1) Filter them out by creating /etc/rsyslog.d/ignore-systemd-session-slice.conf with the following contents:
if $programname == "systemd" and ($msg contains "Starting Session" or $msg contains "Started Session" or $msg contains "Created slice" or $msg contains "Starting user-" or $msg contains "Removed Slice" or $msg contains "Stopping user-") then stop
and restart rsyslogd with systemctl restart rsyslog
-OR-
2) set the systemd logging level a bit higher by editing /etc/systemd/system.conf: