Video stream url for VLC/DVR:
- rtsp://192.168.1.93:554/user=admin&password=&channel=&stream=.sdp?real_stream--rtp-caching=100
Telnet access
- telnet 192.168.1.10 23
- Localhost login: root
- Password: xmhdipc
#!/bin/bash | |
# Function to translate camera serial into zoneminder monitor id | |
function serialToID() { | |
MONITORID=0 | |
if [ "$1" == '"383c49531157b1b1"' ]; then | |
MONITORID=9 | |
fi | |
echo $MONITORID | |
} | |
# Netcat persistent listen |
--- PSQL queries which also duplicated from https://github.com/anvk/AwesomePSQLList/blob/master/README.md | |
--- some of them taken from https://www.slideshare.net/alexeylesovsky/deep-dive-into-postgresql-statistics-54594192 | |
-- I'm not an expert in PSQL. Just a developer who is trying to accumulate useful stat queries which could potentially explain problems in your Postgres DB. | |
------------ | |
-- Basics -- | |
------------ | |
-- Get indexes of tables |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
#!/bin/bash | |
USERNAME=<username> | |
PASSWORD=<password> | |
INSTANCE="<company>.atlassian.net" | |
LOCATION="./Backups/" | |
mkdir "Backups" | |
# Grabs cookies and generates the backup on the UI. |
#!/bin/bash | |
if [ "$1" == "-h" ] || [ "$1" == "--help" ] || [ "$1" == "" ]; then | |
echo "Usage: $(basename $0) n command" | |
echo "Execute command n times or until it succeeds (exit code 0)." | |
exit $([ $1 ] || echo 1) | |
fi | |
control_c() { | |
echo "$(tput setaf 1)Killing process per user request.$(tput sgr0)" |
local nmap = require "nmap" | |
local shortport = require "shortport" | |
local stdnse = require "stdnse" | |
local bin = require "bin" | |
local tls = require "tls" | |
description = [[ | |
Checks for server support of the Extended Random TLS extension, which was | |
allegedly created to make exploitation of the Dual EC DRBG weakness easier. The | |
extension was never widely adopted, and IANA did not assign an ExtensionType |
#!/bin/sh | |
# Zenoss JSON API Shell / Bash script | |
# Link: https://gist.github.com/8399651 | |
# Resources | |
# http://wiki.zenoss.org/Working_with_the_JSON_API | |
# https://gist.github.com/cluther/1901884 | |
# http://blog.remibergsma.com/2013/04/26/automatically-adding-and-editing-devices-in-zenoss-core-4-using-the-api |
Update: I made this a proper blog post