Skip to content

Instantly share code, notes, and snippets.

dataolle

Block or report user

Report or block dataolle

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
@dataolle
dataolle / fgtdump.sh
Created Jul 30, 2019
dump traffic from fortigate firewall over ssh
View fgtdump.sh
#!/usr/bin/env bash
#
# ssh to fortigate firewall and output pcap data to stdout or tcpdump (if terminal is the output)
# needs wirehark tool text2pcap and tcpdump installed
#
shopt -s nocasematch
#set -u # nounset
set -e # errexit
set -E # errtrap
@dataolle
dataolle / gist:4649698
Created Jan 27, 2013
xbmc svtplay log
View gist:4649698
19:22:08 T:2921403456 NOTICE: Thread XBPyThread start, auto delete: false
19:22:09 T:2921403456 NOTICE: -->Python Interpreter Initialized<--
19:22:11 T:2921403456 NOTICE: CommonFunctions-2.5.1
19:22:11 T:2921403456 NOTICE: [SVT Play 3] fetchPage : 'called for : {'link': 'http://www.svtplay.se/video/980526/med-mission-impossible-lalo-schifrin?type=embed'}'
19:22:11 T:2921403456 NOTICE: [SVT Play 3] fetchPage : 'Got request'
19:22:11 T:2921403456 NOTICE: [SVT Play 3] fetchPage : 'connecting to server...'
19:22:12 T:2921403456 NOTICE: [SVT Play 3] fetchPage : 'Done'
19:22:12 T:2921403456 NOTICE: FALLBACK [SVT Play 3] startVideo : 'u'{"videoId":980526,"video":{"videoReferences":[{"url":"http://svtplay1g-f.akamaihd.net/z/se/secure/20130124/1189257-001A/LALO_SCHIFRIN-001A-5774519a69f5df9c_,900,348,564,1680,2800,.mp4.csmil/manifest.f4m","bitrate":0,"playerType":"flash"},{"url":"http://svtplay1g-f.akamaihd.net/i/se/secure/20130124/1189257-001A/LALO_SCHIFRIN-001A-5774519a69f5df9c_,900,348,564,1680,2800,.mp4.cs
@dataolle
dataolle / sendxbmc.sh
Created Dec 4, 2012
send url to xbmc's json-rpc service for playback on the big screen
View sendxbmc.sh
#!/bin/bash
#set url and port to the xbmc box webservice
XBMC_HOST="http://127.0.0.1:8080"
if [ "$1" = "" ]; then
echo -n "Insert URL: "
read url
else
url="$1"
fi
You can’t perform that action at this time.