#! /bin/bash
#
# Growl v 1.7 May 1 2011
# created by Shadow and Lobster
# security enhancements and probes for Puppy Linux
# New for 1.7: DNS hijack checker added
# New for 1.6: Updated for Puppy 5.3.1 'Slacko', Puppy Browser (Lucid specific) removed,
# browser run in safe mode, edit file added, update gtkdialog4, LastPass Password Manager,
# New for 1.3: Puppy Security, Last Password, Fido non root in Help, Hide My Ass
#150613 i18n nilsonmorales
###################
# run secure telnet
# install fprot
# <menuitem>
# <label>install torr</label>
# </menuitem>
# <menuitem>
# <label>restart x server</label>
# </menuitem>
# <menuitem>
# <label>run secure telnet</label>
# </menuitem>
# <menuitem>
# <label>install fprot</label>
# </menuitem>
#
###################
# <menuitem>
# <label>Temp Disable Firewall</label>
# <action>rxvt -e /etc/rc.d/rc.firewall stop</action>
# </menuitem>
# <menuitem>
# <label>Enable Firewall</label>
# <action>rxvt -fn *-Fixed-*-20-* -geometry 40x15+480+400 -C -bg orange -e /etc/rc.d/rc.firewall start ; sleep 10</action>
# </menuitem>
export TEXTDOMAIN=growl
export OUTPUT_CHARSET=UTF-8
export Grrr='
<window title="'$(gettext 'GROWL')'" window-position="1">
<vbox>
<menubar>
<menu>
<menuitem>
<label>"'$(gettext 'Hide My Ass')'"</label>
<action>defaultbrowser
http://hidemyass.com/ &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Run Firewall')'"</label>
<action>rxvt -e /usr/sbin/firewall_install.sh</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Run as spot')'"</label>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'Run as spot')'" --msgbox ""'$(gettext 'Run as Super User. \n SPOT')'" 600x0`</action>
<action>rxvt -e su spot &</action>
<action>exit</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Run IRC Chat securely')'"</label>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'Run IRC securely')'" --msgbox "'$(gettext 'Puppy is on freenode server. \n in #puppylinux Network super user SPOT')'" 600x0`</action>
<action>su spot -c defaultchat &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Install Noscript')'"</label>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'install noscript')'" --msgbox ""'$(gettext 'Install noscript. \n As super user SPOT')'" 600x0`</action>
<action>rxvt -e su spike &</action>
<action>rxvt -e defaultbrowser
https://addons.mozilla.org/en-US/seamonkey/addon/722 &</action>
<action>exit</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'LastPass Password Manager')'"</label>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'install LastPass')'" --msgbox "'$(gettext 'Install Encrypted Password Manager. \n As super user SPOT')'" 600x0`</action>
<action>rxvt -e su spike &</action>
<action>rxvt -e defaultbrowser
https://addons.mozilla.org/en-US/seamon ... d-manager/ &</action>
<action>exit</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Run Browser securely')'"</label>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'Run browser securely')'" --msgbox "'$(gettext 'Default browser will look plain whilst running securely. \n as super user SPOT')'" 600x0`</action>
<action>su spike -c&</action>
<action>seamonkey -safe-mode &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Encrypt a File: bycrypt')'"</label>
<action>rxvt -e /usr/sbin/bcrypt_gui &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Ccrypt install')'"</label>
<action>rxvt -e defaultbrowser
http://puppylinux.org/wikka/ccrypt &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Enhanced Lock Screen')'"</label>
<action>rm -f /root/.xlockrc</action>
<action>xmodmap -e "keycode 37="</action>
<action>xmodmap -e "keycode 109="</action>
<action>rxvt -e /usr/local/apps/Xlock/AppRun &</action>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'reactivating ctrl keys')'" --msgbox "'$(gettext 'reactivating ctrl keys. \n deactivated whilst using lockscreen')'" 600x0`</action>
<action>xmodmap -e "keycode 37=Control_L"</action>
<action>xmodmap -e "keycode 109=Control_R"</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Remove Flash cookies')'"</label>
<action>rm -rf /root/.macromedia</action>
<action>rm -rf /intrd/pup_rw/root/.macromedia/</action>
</menuitem>
<menuitem stock="gtk-quit">
<action>echo You selected the quit menu item</action>
<action type="exit">exit by menu</action>
</menuitem>
<label>"'$(gettext 'Security')'"</label>
</menu>
<menu>
<menuitem>
<label>"'$(gettext 'Shields Up')'"</label>
<action>defaultbrowser
https://www.grc.com/x/ne.dll?bh0bkyd2 &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Hackermode')'"</label>
<action>defaultbrowser
http://hackerwatch.org/probe/ &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Pcflank')'"</label>
<action>defaultbrowser
http://www.pcflank.com/scanner1.htm &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'DNS Check')'"</label>
<action>defaultbrowser
http://www.dns-ok.us/ &</action>
</menuitem>
<label>"'$(gettext 'Probes')'"</label>
</menu>
<menu>
<menuitem>
<label>"'$(gettext 'Credits')'"</label>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'About')'" --msgbox "'$(gettext 'Growl v 1.4\n23 Sept 2011\nCreated by Lobster and Shadow')'" 600x0`</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'About Flash Cookies')'"</label>
<action>defaultbrowser
http://www.murga-linux.com/puppy/viewto ... 237#340237 &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Security Tips')'"</label>
<action>defaultbrowser
http://puppylinux.org/wikka/security &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Seamonkey Security')'"</label>
<action>defaultbrowser
https://addons.mozilla.org/en-US/seamon ... e:1/cat:46 &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'ISP shaping traffic?')'"</label>
<action>defaultbrowser
http://broadband.mpi-sws.org/transparency/glasnost.php &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Fido non root')'"</label>
<action>defaultbrowser
http://bkhome.org/blog/?viewDetailed=02240 &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'FAQ')'"</label>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'FAQ')'" --msgbox "'$(gettext 'Lock screen - security protection level = low, suitable for young children, colleagues at work and Window users \n Load firewall - security protection level = high \n Run as spot, run browser as spot, run Puppy browser as spot - security protection level = high \n Encrypt a file bycrypt - security protection level = high \n Tip: Restart x server - flushes memory \n Tip: Use Encrypt save file if saving \n Tip: Make sure adblock is enabled (low) or install noscript (high security)')'" 600x0`</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Last Password')'"</label>
<action>defaultbrowser
https://lastpass.com/ &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Edit source')'"</label>
<action>geany GROWL16 &</action>
</menuitem>
<menuitem>
<label>"'$(gettext 'Build a tin hat')'"</label>
<action>defaultbrowser
http://zapatopi.net/afdb/ &</action>
</menuitem>
<label>"'$(gettext 'Help')'"</label>
</menu>
</menubar>
<frame>
<pixmap>
<input file>/usr/share/midi-icons/lock-screen48.png</input>
</pixmap>
<text><label>"'$(gettext 'Slacko GROWL 1.7')'"</label></text>
</frame>
<hbox>
<button cancel></button>
</hbox>
</vbox>
</window>'
gtkdialog4 --program Grrr
unset Grrr