CCCPaste

Android ADB Shell over Network

#start adb over network
##############on device#############
#!/system/bin/sh
setprop service.adb.tcp.port 5555
stop adbd

Pogoplug Pro Notes

#Pogoplug Pro Notes
#more notes: http://pastebin.com/mv1WdVdH
#default username: root
#default password: ceadmin

VIM Notes

#VIM Notes
#run a command and put the output into the current file
:r !ifconfig

#run a command against the current file

Microsoft Outlook Web App mail backup script

#!/bin/bash

sleep 3

while [ 1 ]

Motorola SB4200 Cable Modem Serial Connection Notes

######################Motorola SB4200 Modem Serial Port Notes##########
#This Modem is running VxWorks, not Linux
#https://en.wikipedia.org/wiki/VxWorks
#At this point I do not have a shell on this machine
#I can see the boot process and can choose to

Start Powershell Webserver

<#
.Synopsis
Starts powershell webserver
.Description
Starts webserver as powershell process.

Linux Shell send text to another tty terminal

#redirecting output to another tty (teletype) or pts (pseudo-teletype)

#find out who is logged onto which terminal
who -a

Pogoplug Mobile v4 Notes

#pogo files http://pogoplug.com/opensource
#http://blog.qnology.com/2014/07/hacking-pogoplug-v4-series-4-and-mobile.html
#https://wiki.openwrt.org/toh/cloudengines/pogo-v4
#Serial connection is at J11, left of SD as you face SD opening.
#Pins are 0V, Rx, Tx (moving right to left from SD).

MS Powershell webserver

https://gallery.technet.microsoft.com/scriptcenter/Powershell-Webserver-74dcf466

powershell -windowstyle hidden -executionpolicy bypass "IEX (New-Object Net.WebClient).DownloadString('https://gallery.technet.microsoft.com/scriptcenter/Powershell-Webserver-74dcf466/file/162511/1/Start-WebServer.ps1');"

Windows Autorun command as admin at startup

#at startup as system
schtasks /create /tn "TaskName" /tr <task command line> /sc ONSTART /ru system

#ever hour
SCHTASKS /Create /TN "New Task" /SC HOURLY /TR blah.exe /RU username /RP password /RL HIGHEST