Posts

sqlmap

sqlmap -u https://websitename.com\?id=1

google search
inurl:?id=1

sqlmap --wizard

dmenu emoji

# sudo apt-get install rofi xdotool xsel || sudo yum install rofi xdotool xsel || sudo pacman -S rofi xdotool xsel git

git clone https://github.com/cspeterson/splatmoji.git
cd splatmoji
# Call with default emoji and emoticon data files, copy result to clipboard ./splatmoji copy
# Call with default emoji and emoticon data files, type out result ./splatmoji type
# Call with a specific custom data file, copy result to clipboard ./splatmoji copy /path/to/data/file1 /path/to/data/file2
src https://chrispeterson.info/splatmoji-easier-quick-pop-up-emoji-emoticon-input-on-linux/ git:https://github.com/cspeterson/splatmoji
bindsym Mod1+slash exec --no-startup-id   ~/splatmoji/splatmoji copy

custom resolution in linux

> cvt 1920 1080

# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

> sudo xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
>sudo xrandr --addmode eDP-1 "1920x1080_60.00"


 new resolution is added 
> xrandr --output VGA1 --mode "1920x1080_60.00" or  u can use arandr/xrandr/lxrandr to swithch to new resolution or use de interface


make shell script for auto loadhh
nano cures.sh
--------------------------------------------------------------------------------------------------------------------------
sudo xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
sudo xrandr --addmode eDP-1 "1920x1080_60.00"
 xrandr --output eDP-1 --mode "1920x1080_60.00"
-----------------------------------------------------------…

unicode typying in linux

ctrl+shift+u unocode number

download win 10 official directly

bash scripting

touch hello.sh
#! /bin/bash
#this is a comment
echo "hello world"
-------------------------------------------------------------------------------------------------------
print to screen : echo
echo 'hey'
echo hello
echo "hey "

variables are not parsed in single quoted echo

--------------------------------------------------------------------------------------------------
system variables  : env, printenv , set command
echo $HOME
echo $BASH
echo $BASH_VERSION
echo $PWD
echo $PATH
-------------------------------------------------------------------------------------------------------
user defined variable : varname=valueofvar
name=myname
echo my name is $name

variable naming:not starting with number and no special characters except _
----------------------------------------------------------------------------------------------------------

reading user input: read
echo enter name
read name
echo hello $name
echo enter age and sex
read name1 name2 name3
echo  $…

priveate meta search eingine

sudoapt-getinstallgitbuild-essentiallibxslt-devpython-devpython-virtualenvpython-babelzlib1g-devlibffi-devlibssl-devcd/usr/localsudogitclonehttps://github.com/asciimoo/searx.gitsudouseraddsearx-d/usr/local/searxsudochownsearx:searx-R/usr/local/searxsudo-usearx-icd/usr/local/searxvirtualenvsearx-ve../searx-ve/bin/activate./manage.shupdate_packagessed-i-e"s/ultrasecretkey/`openssl rand -hex 16`/g"searx/settings.ymlpythonsearx/webapp.py Go to http://localhost:8888
If everything works fine, disable the debug option in settings.yml:
sed-i-e"s/debug : True/debug : False/g"searx/settings.yml src: https://asciimoo.github.io/searx/dev/install/installation.html