6 private links
Lots of doc about shell script
If you’re lucky enough to find a command execution vulnerability during a penetration test, pretty soon afterwards you’ll probably want an interactive shell.
Some useful commands
Here a sample command to do text to speech
echo "Hello" | festival --tts
colout is a simple command to add colors to a text stream in your terminal.
cheat allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember.
a web server in bash using netcat
Pour avoir directement la liste des solutions dès le premier appui sur la touche TAB il faut rajouter "set show-all-if-ambiguous on" dans votre fichier "~/.inputrc"
A real gui terminal for your shell !!!
http://www.crowd42.info/essayez-final-term-un-terminal-tres-moderne
(via http://links.zirko.me/)
En les mettant après le script
how to sur bash
Type it yourself !
0, 1, 2, ... The positional parameters starting from parameter 0. Parameter 0 refers to the name of the program that started bash, or the name of the shell script if the function is running within a shell script. See the bash man pages for information on other possibilities, such as when bash is started with the -c parameter. A string enclosed in single or double quotes will be passed as a single parameter, and the quotes will be stripped. In the case of double quotes, any shell variables such as $HOME will be expanded before the function is called. You will need to use single or double quotes to pass parameters that contain embedded blanks or other characters that might have special meaning to the shell.
- The positional parameters starting from parameter 1. If the expansion is done within double quotes, then the expansion is a single word with the first character of the IFS special variable separating the parameters, or no intervening space if IFS is null. The default IFS value is a blank, tab, and newline. If IFS is unset, then the separator used is a blank, just as for the default IFS.
@ The positional parameters starting from parameter 1. If the expansion is done within double quotes, then each parameter becomes a single word, so that "$@" is equivalent to "$1" "$2" ... If your parameters are likely to contain embedded blanks, you will want to use this form.The number of parameters, not including parameter 0.