Skip to content

Instantly share code, notes, and snippets.

jadedgnome

Block or report user

Report or block jadedgnome

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jadedgnome
jadedgnome / readme.md
Created Jul 8, 2019 — forked from gitfvb/readme.md
Notes on Quelima R3 WiFi Camera
View readme.md

First

  • Install the app "Sports DV" and change WiFi SSID and password

URLs

  • Wifi and Cam settings are seperated and have different port numbers.
  • Wifi-Settings (just login withoug username and password): http://192.168.25.1
  • Cam LiveStream: http://192.168.25.1:8080/?action=stream
  • Not sure how the configuration is made really... Would need a Man-In-The-Middle-Attack or send the initial ICMP package

Change AP (Cam is the access point) to Station (Cam is a normal WiFi Client)

@jadedgnome
jadedgnome / ubuntu-cli-install-android-sdk.sh
Created Sep 20, 2018 — forked from zhy0/ubuntu-cli-install-android-sdk.sh
Install Android SDK on headless Ubuntu linux machine via command line, so that you can compile open source Android apps.
View ubuntu-cli-install-android-sdk.sh
#!/bin/bash
# Thanks to https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7
# Execute this script in your home directory. Lines 17 and 21 will prompt you for a y/n
# Install Oracle JDK 8
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
apt-get install -y unzip make # NDK stuff
@jadedgnome
jadedgnome / curl-c-ares-ubuntu.sh
Last active May 24, 2018 — forked from jay/curl ubuntu (update installed release).txt
Notes for building and installing curl and OpenSSL in Ubuntu 16 x64 LTS
View curl-c-ares-ubuntu.sh
#!/bin/bash
###############################################################################
#
# This is for when we have to update the installed version of curl, nghttp2 or
# openssl in Ubuntu 16 LTS. This is not a single script.
#
# https://gist.github.com/jay/d88d74b6807544387a6c
#
@jadedgnome
jadedgnome / build-openssl.sh
Created May 24, 2018 — forked from bmaupin/build-openssl.sh
Build openssl (with SSLv2/3 support for security testing)
View build-openssl.sh
#!/bin/bash
# Get latest OpenSSL 1.0.2 version from https://openssl.org/source/
# v1.1.0 seems to have removed SSLv2/3 support
openssl_version=1.0.2k
# Build OpenSSL
wget https://openssl.org/source/openssl-$openssl_version.tar.gz
tar -xvf openssl-$openssl_version.tar.gz
cd openssl-$openssl_version
@jadedgnome
jadedgnome / youtube-dl-dash.bash
Last active May 19, 2018 — forked from Strayer/youtube-dl-dash.bash
youtube-dl wrapper script to download DASH Video and Audio and combine it with ffmpeg with automatic best format detection and fallback to default youtube-dl behaviour for videos without DASH
View youtube-dl-dash.bash
#!/usr/bin/env bash
set -e
YOUTUBE_FORMATS=$(youtube-dl -F "$1")
if [[ "$YOUTUBE_FORMATS" == *"(DASH Video)"* ]]; then
VIDEO_NAME=$(youtube-dl --get-filename "$1")
VIDEO_NAME_TMP="$VIDEO_NAME.tmp"
echo "Filename: $VIDEO_NAME"
@jadedgnome
jadedgnome / m3u8.md
Created May 16, 2018 — forked from primaryobjects/m3u8.md
How to download m3u8 and ts video movie streams.
View m3u8.md

m3u8 Downloading

  1. Open Chrome Developer tools and click the Network tab.
  2. Navigate to the page with the video and get it to start playing.
  3. Filter the list of files to "m3u8".
  4. Find master.m3u8 or index.m3u8 and click on it.
  5. Save the file to disk and look inside it.
  6. If the file contains a single m3u8 master url, copy that one instead.
  7. Run the program m3u8x.
  8. Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
@jadedgnome
jadedgnome / DNS tunneling with iodine.md
Created May 8, 2018 — forked from nukeador/DNS tunneling with iodine.md
How to install and use iodine for DNS tunneling.
View DNS tunneling with iodine.md

##Domain

We need some records on our domain (mydomain.com) DNS for connections. Add these records:

t1              IN      NS      t1ns.mydomain.com. ; note final the dot!
t1ns            IN      A       OUR_SERVER_IP

##Server

@jadedgnome
jadedgnome / README.md
Created May 5, 2018 — forked from gdamjan/README.md
Setup for an easy to use, simple reverse http tunnels with nginx and ssh. It's that simple there's no authentication at all. The end result, a single ssh command invocation gives you a public url for your web app hosted on your laptop.
View README.md

What

A lot of times you are developing a web application on your own laptop or home computer and would like to demo it to the public. Most of those times you are behind a router/firewall and you don't have a public IP address. Instead of configuring routers (often not possible), this solution gives you a public URL that's reverse tunnelled via ssh to your laptop.

Because of the relaxation of the sshd setup, it's best used on a dedicated virtual machine just for this (an Amazon micro instance for example).

Requirements

@jadedgnome
jadedgnome / dl-cloud-mail-ru.sh
Last active Jun 8, 2018 — forked from s00d/dl-cloud-mail-ru.sh
Download file from cloud.mail.ru from linux console with bash script
View dl-cloud-mail-ru.sh
#!/usr/bin/env bash
# idea: https://novall.net/itnews/bash-skript-dlya-skachivaniya-fajlov-s-mail-ru-cherez-konsol-linux.html
for link in "$@" ;
do URL="$link"
FILENAME=$(curl -A "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0" -s "$URL" | grep -E '"name":' | tac | head -1 | sed -e 's|.*"name":\ "||' -e 's|",.*||')
URLPART0=$(wget -U "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0" --quiet -O - "$URL" | grep -o '"weblink_get":\[[^]]\+\]' | sed 's/.*"url":"\([^"]\+\)".*/\1/')
URLPART1=$(echo "$URL" | awk -F '/public/' '{print $2}')
@jadedgnome
jadedgnome / README.md
Created Feb 19, 2018 — forked from mrbar42/README.md
bash scripts to create VOD HLS stream with ffmpeg almighty (tested on Linux and OS X)
View README.md

running:

bash create-vod-hls.sh beach.mkv

will produce:

    beach/
      |- playlist.m3u8
      |- 360p.m3u8
You can’t perform that action at this time.