Sunday, November 3, 2019

Screen video capture

Use built-in sreencapture icon on top right. Cannot pause. So just stop, and restart as many times as you like, then join them up using this command:

mkvmerge -o output.webm -w 1.webm + 2.webm + 3.webm

You will need to apt-get install mkvtoolnix
Then use windows VLC to convert to mp4.

To make vidoes that switches between linux screen and window sscreen, import both videos into camtasia. Put winodws screen in layer 1 and linux video in layer 2.  Then cut the linux video at those places you want to show windows. The underneath layer 1 windows video will show. Pull back the cut part as much as you want to reveal those portions of the windows you want to show.

Note that voice recording will be on windows. So yo shoud start linux recording and windows camtasia recording together.

Friday, September 27, 2019

Adjust brightness

Create a file called adjust_brightness.sh

[adjust_brightness.sh]
#run:   sudo -s ./adjust_brightness.sh

echo $1  > /sys/class/backlight/intel_backlight/brightness

chmod 755 adjust_brightness.sh



















-------------------------------------------------------------------------------


add this line to the end of /etc/crontab:

[/etc/crontab]
@reboot    /root/adjust_brightness.sh 300

Tuesday, September 24, 2019

How to install phpmyadmin in kali linux

Download phpmyadmin from:

https://www.phpmyadmin.net/downloads/

choose the english version one.

unzip to /var/www/html

and rename the long folder name to phpmyadmin.
Now you have:

/var/www/html/phpmyadmin

Then chown -R www-data:www-data  /var/www/html/phpmyadmin
Then chmod  755 -R /var/www/html/phpmyadmin

Then open terminal :

mysql -u root mysql

> create user 'admin'@'localhost' identified by '123456'
>grant all privileges on *.* to 'admin'@'localhost' with grant option;
>flush privileges;

Then open browser goto:

localhost/phpmyadmin

and login with:

admin,  123456