Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 11:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
GROWL
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 25 Aug 2009, 12:00    Post_subject:  GROWL
Sub_title: Puppy Security Enhancements
 



GROWL release 1.7 from Lobster
    Guard!
    Restrict!
    Observe!
    Watch!
    Lookout!

This is very much a simple security template
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


To make use of this
save the 1.7 script text in a new script file (right click in required directory - then select new, script) Smile

Code:
#! /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

###################
# 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 Grrr='
<window title="GROWL" window-position="1">
<vbox>
  <menubar>
    <menu>
        <menuitem>
             <label>Hide My Ass</label>
             <action>defaultbrowser http://hidemyass.com/ &</action>
         </menuitem>
         <menuitem>
            <label>Run Firewall</label>
            <action>rxvt -e /usr/sbin/firewall_install.sh</action>
         </menuitem>
         <menuitem>
            <label>Run as spot</label>
            <action>`Xdialog --wrap --screencenter --left --title "Run as spot" --msgbox "Run as Super User. \n SPOT" 600x0`</action>
            <action>rxvt -e su spot &</action>
            <action>exit</action>
         </menuitem>
         <menuitem>
           <label>Run IRC Chat securely</label>
            <action>`Xdialog --wrap --screencenter --left --title "Run IRC securely" --msgbox "Puppy is on freenode server. \n in #puppylinux Network super user SPOT" 600x0`</action>
            <action>su spot -c defaultchat &</action>
         </menuitem>
         <menuitem>
             <label>Install Noscript</label>   
             <action>`Xdialog --wrap --screencenter --left --title "install noscript" --msgbox "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>LastPass Password Manager</label>
          <action>`Xdialog --wrap --screencenter --left --title "install LastPass" --msgbox "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/seamonkey/addon/lastpass-password-manager/ &</action>
          <action>exit</action>
         </menuitem>
         <menuitem>
            <label>Run Browser securely</label>
            <action>`Xdialog --wrap --screencenter --left --title "Run browser securely" --msgbox "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>Encrypt a File: bycrypt</label>
             <action>rxvt -e /usr/sbin/bcrypt_gui &</action>
         </menuitem>
         <menuitem>
             <label>Ccrypt install</label>
             <action>rxvt -e defaultbrowser http://puppylinux.org/wikka/ccrypt &</action>
         </menuitem> 
         <menuitem>
                 <label>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 "reactivating ctrl keys" --msgbox "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>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>Security</label>
    </menu>
    <menu>
        <menuitem>
               <label>Shields Up</label>
               <action>defaultbrowser https://www.grc.com/x/ne.dll?bh0bkyd2 &</action>
        </menuitem>       
        <menuitem>
               <label>Hackermode</label>
               <action>defaultbrowser http://hackerwatch.org/probe/ &</action>
        </menuitem>
        <menuitem>
               <label>Pcflank</label>
               <action>defaultbrowser http://www.pcflank.com/scanner1.htm &</action>
        </menuitem>
        <menuitem>
               <label>DNS Check</label>
               <action>defaultbrowser http://www.dns-ok.us/ &</action>
        </menuitem>
    <label>Probes</label>
    </menu>       
    <menu>
        <menuitem>
           <label>Credits</label>
            <action>`Xdialog --wrap --screencenter --left --title "About" --msgbox "Growl v 1.4\n23 Sept 2011\nCreated by Lobster and Shadow" 600x0`</action>
        </menuitem>
        <menuitem>
             <label>About Flash Cookies</label>
             <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=340237#340237 &</action>
         </menuitem> 
         <menuitem>
             <label>Security Tips</label>
             <action>defaultbrowser http://puppylinux.org/wikka/security &</action>
         </menuitem>
         <menuitem>
             <label>Seamonkey Security</label>
             <action>defaultbrowser https://addons.mozilla.org/en-US/seamonkey/browse/type:1/cat:46 &</action>
         </menuitem>
         <menuitem>
             <label>ISP shaping traffic?</label>
             <action>defaultbrowser http://broadband.mpi-sws.org/transparency/glasnost.php &</action>
         </menuitem>
         <menuitem>
           <label>Fido non root</label>
           <action>defaultbrowser http://bkhome.org/blog/?viewDetailed=02240 &</action>
         </menuitem>
         <menuitem>
           <label>FAQ</label>
           <action>`Xdialog --wrap --screencenter --left --title "FAQ" --msgbox "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>Last Password</label>
           <action>defaultbrowser https://lastpass.com/ &</action>
         </menuitem>
         <menuitem>
           <label>Edit source</label>
           <action>geany GROWL16 &</action>
         </menuitem>
         <menuitem>
           <label>Build a tin hat</label>
           <action>defaultbrowser http://zapatopi.net/afdb/ &</action>
         </menuitem>
    <label>Help</label>
   </menu>   
  </menubar>
  <frame>
       <pixmap>
         <input file>/usr/share/midi-icons/lock-screen48.png</input>
       </pixmap>
       <text><label>Slacko GROWL 1.7</label></text>
   </frame>
   <hbox>
      <button cancel></button>
  </hbox>
</vbox>
 </window>'

gtkdialog4 --program Grrr
unset Grrr

_________________
Puppy WIKI

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
seaside

Joined: 11 Apr 2007
Posts: 886

PostPosted: Tue 25 Aug 2009, 23:00    Post_subject:  

Lobster,

GRRReat example of pull-down menuing with GTKdialog.

As to the efficacy of the security programs included, I personally can attest that after using this program, not a single virus has found me and furthermore, the implementation of the metal hat instruction has also proved invaluable - not once have I been struck by aluminum foil! Very Happy

Fun and useful information do go together. Idea
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 21 Oct 2009, 06:01    Post_subject:  

Thanks Seaside Smile
Just had new feature noscript on and it was stopping me from editing this post . . . Confused
Have now added for GROWL 0.5:
also
* Direct link to install 'Noscript'
* Run Puppy Browser
* Lock Screen
* About info
Cool

_________________
Puppy WIKI

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Wed 21 Oct 2009, 06:26    Post_subject:  

lobster,

if you want to do something about
Quote:
# lock screen security protection level = low, suitable for young children, coleagues at # work and Window users


you might want to look at slock: http://www.murga-linux.com/puppy/viewtopic.php?t=37642

work fine, but read the note!

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 21 Oct 2009, 08:45    Post_subject:  

Smile thanks aragon

It is an extra program Shocked
and this stand alone bash script would do the same
thing
Code:
#!/bin/sh
rm -f /root/.xlockrc
rxvt -e /usr/local/apps/Xlock/AppRun

just click on key
add the same again
go to get food . . .
enter key word you typed to get back in . . .

that code incidentally is in Growl Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Wed 21 Oct 2009, 09:47    Post_subject:  

aaah, ok!

and with that Ctrl+Alt+Backspace doesn't work?

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 21 Oct 2009, 10:51    Post_subject:  

well I suppose you could disable the ctrl keys (if you must)
like so
Code:
xmodmap -e 'keycode 37='
xmodmap -e 'keycode 109='


so you have:

Code:

#!/bin/sh
xmodmap -e 'keycode 37='
xmodmap -e 'keycode 109='
rm -f /root/.xlockrc
rxvt -e /usr/local/apps/Xlock/AppRun
xmodmap -e 'keycode 37=Control_L'
xmodmap -e 'keycode 109=Control_R'


Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 21 Oct 2009, 19:50    Post_subject:  

Lobster,

the browser does not run as spot.
You can check it like this:
a Gtk program (like seamonkey) will not look as usual, as there is no GTK themefile for spot.
So seamonkey uses the default grey style, where the scrollbars look like in Windows 95.

To run as spot, you had to modify your script:

Code:
       <menuitem>
             <label>Run browser securely</label>
            <action>`Xdialog --wrap --screencenter --left --title "Run browser securely" --msgbox "Run default browser. \n As super user SPOT" 600x0`</action>
          <action>su spot -c defaultbrowser &</action>
         </menuitem>


Same with Puppybrowser.

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 22 Oct 2009, 05:32    Post_subject:  

Thanks Mark

0.7 has your mods
also disabled ctrl keys on screenlock
(I think)
The enclosed
zip file includes the enhanced Puppy powered version Smile
growl7.zip
Description 
zip

 Download 
Filename  growl7.zip 
Filesize  7.02 KB 
Downloaded  1644 Time(s) 

_________________
Puppy WIKI

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 18 Nov 2009, 07:09    Post_subject:  

0.8 uploaded - see first post in this thread
added probe options
and 'remove flash cookies' option

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 14 Dec 2009, 10:27    Post_subject:  



the code in the first post has been updated to v1
(just replace existing Growl text with the supplied code)

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
munduruku


Joined: 27 Aug 2009
Posts: 11
Location: City of Porto Alegre in Brazil

PostPosted: Sun 06 Jun 2010, 23:36    Post_subject:  

I experimenting difficulties in downloading ISO with
correct SHA256SUM and I realized perpetrators kind of
enter my computer prior to the ISO is finished and now I am learning more about detecting the intruders, that is how I got to this page and I thank you the charity of offering us so many answers. I liked the SEASIDE statement : "the implementation of the metal hat instruction has also proved invaluable - not once have I been struck by aluminum foil!". I am a biochipped person under Maser Micro-wave torturing and I don't use tin foil because if the federals attack someone with Maser North-American patent 60011991, tin foil really does increase the Maser effect, I am wearing right now wedding net cloth coated with a mixture of mineral graphite and plastic glue. The comparison SEASIDE did struck me of a timely instruction, we have to firewall the computer and also our cortex, without geodesic domes to protect our households form micro-wave wireless signals we will never know for sure who are stealthily connected to the motherboard, let alone our brains.
Back to top
View user's profile Send_private_message Visit_website MSNM 
walter90


Joined: 25 Aug 2009
Posts: 278
Location: Pennsylvania, USA

PostPosted: Tue 08 Jun 2010, 15:07    Post_subject:  

munduruku wrote:
I experimenting difficulties in downloading ISO with
correct SHA256SUM and I realized perpetrators kind of
enter my computer prior to the ISO is finished and now I am learning more about detecting the intruders, that is how I got to this page and I thank you the charity of offering us so many answers. I liked the SEASIDE statement : "the implementation of the metal hat instruction has also proved invaluable - not once have I been struck by aluminum foil!". I am a biochipped person under Maser Micro-wave torturing and I don't use tin foil because if the federals attack someone with Maser North-American patent 60011991, tin foil really does increase the Maser effect, I am wearing right now wedding net cloth coated with a mixture of mineral graphite and plastic glue. The comparison SEASIDE did struck me of a timely instruction, we have to firewall the computer and also our cortex, without geodesic domes to protect our households form micro-wave wireless signals we will never know for sure who are stealthily connected to the motherboard, let alone our brains.



Oooooookay.....!

So Lobster, do I need to keep coming back here to get code updates?
Back to top
View user's profile Send_private_message 
upnorth


Joined: 11 Jan 2010
Posts: 262
Location: Wisconsin UTC-6 (-5 DST)

PostPosted: Tue 08 Jun 2010, 16:39    Post_subject:  

Cool Program! Cool
Thanks.
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 21 Oct 2010, 02:25    Post_subject:  

http://www.murga-linux.com/puppy/viewtopic.php?p=458765#458765

What code is required to delete cookies and supercookies from browsers?
If we have all the locations then it should be something like
<action>del /user/firefox/superdupercookylocation</action>
possibly the permissions would need to be changed too?

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1309s ][ Queries: 13 (0.0099s) ][ GZIP on ]