Skip to content

Instantly share code, notes, and snippets.

@bradtraversy
bradtraversy / myscript.sh
Last active April 22, 2025 23:48
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
RDP Eavesdropping and Hijacking
*******************************
I spent some time this evening looking at ways to eavesdrop and hijack RDP sessions. Here is a gist of (semi) interesting findings
that is not very new...
===========
Inspiration
===========
As you may already know...
@dideler
dideler / bot.rb
Last active April 24, 2025 04:41
Sending a notification message to Telegram using its HTTP API via cURL
# Use this script to test that your Telegram bot works.
#
# Install the dependency
#
# $ gem install telegram_bot
#
# Run the bot
#
# $ ruby bot.rb
#
@dvdknaap
dvdknaap / kali.md
Last active October 16, 2024 16:54
RootTricks

install all tools

  • apt install kali-linux-all

.git folder downloader

  • git clone https://github.com/internetwache/GitTools.git

Check ports with nmap

  • nmap -sC -sV -oA initial 10.10.10.78
  • nmap -sV -sC -oA nmap-tcp 10.10.10.84
  • nmap -T4 -A -v -p 0-10000 10.10.10.8
@Desani
Desani / ScanMedia.md
Last active March 15, 2025 12:38
3.6 - Corrected issues with determining terminal size in specific use cases. Added file encoding thanks to recommendation by LordKenmou. Fixed update script checker.

This script utilizes ffmpeg, the same tool Plex uses, to decode the video stream and captures the output for any errors during playback and sends the playback errors to a log file. So essentially it plays the video in the background faster than regular speed. It then checks the error output log file to see if there is anything inside. If ffmpeg was able to cleanly play the file, it counts as a passed file. If there is any error output, an error could be anything from a container issue, a missed frame issue, media corruption or more, it counts the file as failed. So if there would be an issue with playback and a video freezing, it would be caught by this method of checking for errors. Because of the nature of the error log, any errors that show up, even simple ones, will all count as a fail and the output is captured so you can view the error log. Some simple errors are easy to fix so I have included an auto-repair feature which attempts to re-encode the file which is able to correct some issues that would cau

# cat /etc/sockd.conf
logoutput: syslog /var/log/danted.log
internal: eth0 port = 8765
external: eth0
socksmethod: username
user.privileged: root
user.unprivileged: nobody
client pass {

Getting Started

Https://wizardforcel.gitbooks.io/web-hacking-101/content/ Web Hacking 101 Chinese Https://wizardforcel.gitbooks.io/asani/content/ Easy to get Android security Chinese version Https://wizardforcel.gitbooks.io/lpad/content/ Android penetration test study manual Chinese version Https://wizardforcel.gitbooks.io/kali-linux-web-pentest-cookbook/content/ Kali Linux Web Penetration Test Cheats Chinese Version Https://github.com/hardenedlinux/linux-exploit-development-tutorial Linux exploit Development Primer Https://www.gitbook.com/book/t0data/burpsuite/details burpsuite actual guide Http://www.kanxue.com/?article-read-1108.htm=&winzoom=1 Penetration Testing Node.js Application Https://github.com/qazbnm456/awesome-web-security Web Security Information and Resources List

@heywoodlh
heywoodlh / README.md
Created February 27, 2018 22:55
ADB Scripts

adb-scripts

This repository consists of useful adb scripts/commands for the Samsung Galaxy S8.

Feel free to fork this repository and submit your own scripts.

@heywoodlh
heywoodlh / README.md
Created February 27, 2018 22:51
Pushbullet SMS Scripts

Credit for the foundation of this program goes to Pushbullet.py: https://github.com/randomchars/pushbullet.py

Installation:

Download the repository: git clone https://github.com/heywoodlh/pushbullet-sms-cli

Install the dependencies: pip3 install -r requirements.txt