Wednesday, 7 October 2015

How to see password in password textbox

How to see password in password Textbox

When we type password in any password box it's get encrypted and you will see only ****.
 It is very easy just change the text Input type from password to text.

1. Right click on password text box and go to Inspect element.


2. At below(sometimes right) you will see Inspect tab. <input> Search for type="passoword" .



3. Change input type from type="passoword" to type="text" ..


4. Press Enter key.

Thursday, 1 October 2015

Slow motion video using ffmpeg

Speeding up/slowing down video using ffmpeg:

-i = input file(mov,mp4,avi,mkv,flv)
-filter:v= video filter
-filter:a= audio filter(The atempo filter is limited to using values between 0.5 and 2.0)
setpts= set presentation timestamp
-r = frame rate

Slowing down:

Video:
ffmpeg -i input.mp4 -filter:v "setpts=2.0*PTS" output.mp4  //half speed

ffmpeg -i input.mp4 -filter:v -r 30 "setpts=2.0*PTS" output.mp4  //half speed with fps 30
(Note: More fps= Large video size)

Audio:
ffmpeg -i input.mkv -filter:a "atempo=2.0" -vn output.mkv

Speeding up:

Video:
ffmpeg -i input.mp4 -filter:v "setpts=2.0*PTS" output.mp4  //2xfaster

Audio:
ffmpeg -i input.mkv -filter:a "atempo=0.5" -vn output.mkv

Download ffmpeg https://www.ffmpeg.org/download.html

More info :ffmpeg.org


Saturday, 12 September 2015

Windows trick to lock your folder using CACLS

CACLS command that apply the permission rules on folders.
Access Control Lists(ACL) only works on NTFS formatted drive,
ACL determines which users (or groups of users) can read or edit the file.


1. Open Notepad and type below command.

cacls folder_name /E /P everyone:n

eg. cacls test /E /P everyone:n

2. Save notepad file as "lock.bat".

3.Open another Notepad and type below command.

cacls folder_name /E /P everyone:f

eg. cacls test /E /P everyone:f

4. Save notepad file as "unlock.bat".

5. Now to lock your folder,double click lock.bat file.

6. And to unlock the folder,double click unlock.bat file.



More info about CACLS: http://ss64.com/nt/cacls.html

Grant access rights, permision can be:
          R  Read 
          W  Write
          C  Change (read/write) 
          F  Full control
          N  None