Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy home page: puppylinux.com
 
 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 Sep 2010, 20:25
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 1 [14 Posts]  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11904

PostPosted: Tue 25 Aug 2009, 12:00    Post subject:  GROWL
Subject description: Puppy Security Enhancements
 



GROWL release .1.0 from Shadow and Lobster

    Guard!
    Restrict!
    Observe!
    Watch!
    Lookout!

This is very much a simple security template

new for 1.0
    added Seamonkey, Ccrypt and Blackops links


the code below is that latest - not the zip file

Code:
#! /bin/bash
# Growl v 1.0 Dec 2009
# created by Shadow and Lobster
# security enhancements and probes for Puppy Linux

###################
# 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>
#
###################

export Grrr='
<window title="GROWL" window-position="1">
<vbox>
  <menubar>
    <menu>
       <menuitem>
             <label>Run Firewall</label>
             <action>rxvt -e /usr/sbin/firewall_install.sh</action>
       </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>
         <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>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 spot &</action>           
                     <action>rxvt -e defaultbrowser https://addons.mozilla.org/en-US/seamonkey/addon/722 &</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 spot -c defaultbrowser &</action>
         </menuitem>
          <menuitem>
             <label>Puppy Browser</label>
             <action>`Xdialog --wrap --screencenter --left --title "Run browser securely" --msgbox "Puppy Browser will look plain whilst running securely. \n as super user SPOT" 600x0`</action>
          <action>su spot -c PuppyBrowser &</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>
    <label>Probes</label>
    </menu>       
    <menu>
        <menuitem>
           <label>About</label>
            <action>`Xdialog --wrap --screencenter --left --title "About" --msgbox "Growl v 0.8\n18 Nov 2009\nCreated by Shadow and Lobster" 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>Black Ops</label>
             <action>defaultbrowser http://puppylinux.org/wikka/BlackOps &</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>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>Build a tin hat</label>
             <action>defaultbrowser http://zapatopi.net/afdb/ &</action>
         </menuitem>
    <label>Help</label>
   </menu>   
  </menubar>
  <frame>
       <pixmap>
         <input file>runpup.gif</input>
       </pixmap>
       <text><label>G R O W L</label></text>
   </frame>
   <hbox>
        <button cancel></button>
  </hbox>
</vbox>
 </window>'

gtkdialog3 --program Grrr
unset Grrr
g8.zip
Description 
zip

 Download 
Filename  g8.zip 
Filesize  1.61 KB 
Downloaded  321 Time(s) 

_________________
Tmxxine Open Source Time Travel Cool

Last edited by Lobster on Thu 25 Mar 2010, 23:18; edited 5 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website 
seaside

Joined: 11 Apr 2007
Posts: 258

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 Send e-mail 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11904

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

_________________
Tmxxine Open Source Time Travel Cool

Last edited by Lobster on Wed 18 Nov 2009, 07:11; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website 
aragon

Joined: 15 Oct 2007
Posts: 1382
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
Lenovo 3000N200: 3-Boot: Win XP, Crunchbang 9.04.01, Homebrew based on 4.10
IBM a22m (PIII, 384 MB RAM): Homebrew based on 4.00
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11904

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

_________________
Tmxxine Open Source Time Travel Cool
Back to top
View user's profile Send private message Send e-mail Visit poster's website 
aragon

Joined: 15 Oct 2007
Posts: 1382
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
Lenovo 3000N200: 3-Boot: Win XP, Crunchbang 9.04.01, Homebrew based on 4.10
IBM a22m (PIII, 384 MB RAM): Homebrew based on 4.00
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11904

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

_________________
Tmxxine Open Source Time Travel Cool
Back to top
View user's profile Send private message Send e-mail Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13575
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 poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11904

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  238 Time(s) 

_________________
Tmxxine Open Source Time Travel Cool

Last edited by Lobster on Wed 18 Nov 2009, 07:10; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11904

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

_________________
Tmxxine Open Source Time Travel Cool
Back to top
View user's profile Send private message Send e-mail Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11904

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)

_________________
Tmxxine Open Source Time Travel Cool
Back to top
View user's profile Send private message Send e-mail Visit poster's 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 Send e-mail Visit poster's website MSN Messenger 
walter90


Joined: 25 Aug 2009
Posts: 238
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 Send e-mail 
upnorth

Joined: 11 Jan 2010
Posts: 175
Location: Wisconsin UTC-5

PostPosted: Tue 08 Jun 2010, 16:39    Post subject:  

Cool Program! Cool
Thanks.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
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:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
hot copy
[ Time: 0.3343s ][ Queries: 10 (0.0178s) ][ Debug on ]