Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # auto screenshout
- # create by zee eichel
- # tested on backtrack V
- # 23 mei 2011
- # tools ini menggunakan scrot & imagemagick
- # credit by indonesian backtrack team
- # home page : id-backtrack.com
- #variable intro
- luv1="[\e[01;38mw\e[00m]"
- luv2="[\e[01;32mx\e[00m]"
- luv3="[\e[01;34mi\e[00m]"
- luv4="[\e[01;30m?\e[00m]"
- echo -e "$luv3 Tools ini membutuhkan scrot , imagemagick"
- echo -e "$luv3 Untuk menginstall scrot use [s] dan untuk menginstall imagemagick use [i] atau [k] untuk skip instalasi dan memulai program"
- echo -n -e "$luv4 masukan pilihan anda ?"; tput sgr0
- read start
- if [ "$start" == "s" ] ; then
- apt-get install scrot
- elif [ "$start" == "i" ] ; then
- apt-get install imagemagick
- elif [ "$start" == "k" ] ; then
- echo -n -e "$luv2 Masukan [im], untuk menggunakan imagemagick atau [sc] untuk menggunakan scrot ";
- read tools
- fi
- if [ "$tools" == "im" ] ; then
- echo -n -e "$luv1 masukan nama file ";
- read image
- echo -n -e "$luv1 masukan delay /det ";
- read delay
- mkdir /root/ss
- cd /root/ss
- sleep $delay; import -window root $image.png
- echo -e "$luv2 $image telah berhasil di simpan di /root/ss"
- elif [ "$tools" == "sc" ] ; then
- echo -n -e "$luv1 masukan nama file ";
- read images
- mkdir /root/ss
- cd /root/ss
- scrot $images.png
- echo -e "$luv2 $image telah berhasil di simpan di /root/ss"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement