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 Sat 29 Apr 2017, 17:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
GROWL 2.06 beta
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Lobster
Official Crustacean


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

PostPosted: Wed 15 Mar 2017, 05:46    Post subject:  GROWL 2.06 beta
Subject description: security for puppy fun
 

Hi guys

GROWL2 Beta ...

Should I add a DNS checker to services?
http://dnscheck.pingdom.com/

is this reset using passwd useful? Likely to bork the system?

Previous version 1.9 released January 2017 here
http://www.murga-linux.com/puppy/viewtopic.php?p=335216#335216

Code:
         <menuitem>
            <label>Reset root password</label>
            <action>passwd -d root 'test1' &</action>   
         </menuitem> 


Anything else I should be adding/considering/modifying?
Any bugs?

GROWL is a bash script
save the below text as GROWL2.sh - change permission to make executable and run (not for the hills)
Here is the latest beta code

Code:

#! /bin/bash
#
# GROWL v2.06 beta - Wed 5 April 2017 - not release version
# Lobster
# Security enhancements, probes, online services and info for Puppy Linux
# thanks to Shadow, Linux Kodachi and Puppy yap dogs (security paranoids everywhere)

# New for 2.00 random eth0 disconnect, reconnect, random password generator
#    htop process viewer, pswrd reset, ipinfodb probe, noc.to probe, webkay probe, GNU Privacy Guard, final thoughts
#    more anon proxies added, more help links added
#
# New for 1.9 Updated for Slacko64 Puppy - 6.3.2, Quick Start Help Button added, unblockweb.co proxy, Browser Paranoid Kit
# New for 1.8 bugs removed and non working DNS check hijack removed
# New for 1.7: DNS 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,

####### not implemented ############

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

# <action>`Xdialog --wrap --screencenter --left --title "Connect eth0" --msgbox "Connect to eth0 when OK pressed \n check status bar bottom right" 600x0`</action>

# <menuitem>
# <label>Activate EzTables Firewall</label>
# <action>rxvt -e /usr/sbin/fatdog-service-manager.sh</action>
# </menuitem>

export Grrr='
<window title="GROWL 2.05" window-position="1">
<vbox>
<menubar>
<menu> 
<menuitem>
<label>Quick DISCONNECT eth0</label>       
<action>ifconfig eth0 down &</action>
</menuitem>
<menuitem>
<label>Connect eth0</label>
<action>ifconfig eth0 up &</action>
</menuitem>   
<menuitem>
<label>Reset root password</label>
<action>passwd -d root 'test1' &</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>Browser Paranoid Kit</label>   
<action>`Xdialog --wrap --screencenter --left --title "install Paranoid Kit" --msgbox "Install Paranoid Kit. \n As super user SPOT" 600x0`</action>
<action>rxvt -e su spike &</action>           
<action>rxvt -e defaultbrowser https://addons.mozilla.org/en-GB/firefox/collections/theparadox/paranoia/ &</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>firefox -safe-mode &</action>
</menuitem>
<menuitem>
<label>Encrypt a File: bycrypt</label>
<action>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>
<action>`Xdialog --wrap --screencenter --left --title "Remove Flash cookies" --msgbox "Macromedia flash cookies removed" 600x0`</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>lsof process viewer</label>       
<action>rxvt -e lsof -i &</action>
</menuitem>
<menuitem>
<label>Htop process viewer</label>       
<action>rxvt -e htop &</action>
</menuitem>
<menuitem>
<label>Ipinfodb</label>
<action>defaultbrowser ipinfodb.com &</action>               
</menuitem> 
<menuitem>
<label>Noc.to</label>
<action>defaultbrowser noc.to &</action>               
</menuitem>
<menuitem>          
<label>Webkay</label>
<action>defaultbrowser webkay.robinlinus.com &</action>
</menuitem>
<menuitem>
<label>Shields Up</label>
<action>defaultbrowser https://www.grc.com/x/ne.dll?bh0bkyd2 &</action>
</menuitem>
<menuitem>
<label>DNS leak test</label>
<action>defaultbrowser https://www.dnsleaktest.com &</action>
</menuitem>         
<menuitem>
<label>Hackermode</label>
<action>defaultbrowser https://www.hackerwatch.org/probe/ &</action>               
</menuitem>
<label>Probes</label>
</menu>   
<menu>   
<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>Photonmail</label>
<action>defaultbrowser https://protonmail.com/ &</action>
</menuitem>
<menuitem>          
<label>Curlmyip</label>
<action>defaultbrowser curlmyip.net &</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>Last Password</label>
<action>defaultbrowser https://lastpass.com/ &</action>
</menuitem>
<menuitem>
<label>Ipleak</label>
<action>defaultbrowser https://ipleak.net/ &</action>
</menuitem>
<menuitem>
<label>Startpage Search</label>
<action>defaultbrowser https://www.startpage.com/ &</action>
</menuitem>
<menuitem>          
<label>Filterbypass proxy</label>
<action>defaultbrowser https://www.filterbypass.me &</action>
</menuitem> 
<menuitem> 
<label>Unblock Proxy</label>
<action>defaultbrowser https://unblockweb.co/ &</action>
</menuitem>
<menuitem>          
<label>Anonymouse proxy</label>
<action>defaultbrowser anonymouse.org &</action>
</menuitem>
<menuitem>
<label>Vpnbook proxy</label>
<action>defaultbrowser http://www.vpnbook.com/webproxy &</action>
</menuitem>
<menuitem>
<label>HideMe Proxy</label>
<action>defaultbrowser https://hide.me/en/proxy &</action>
</menuitem>       
<label>Services</label>
</menu>
<menu>       
<menuitem>          
<label>Puppy Security Discussions</label>
<action>defaultbrowser http://www.murga-linux.com/puppy/index.php?f=47&ppage=30&sort=lastpost&order=DESC &</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>Browser Security Add Ons</label>
<action>defaultbrowser https://addons.mozilla.org/en-GB/firefox/extensions/privacy-security/ &</action>
</menuitem>
<menuitem>
<label>ISP shaping traffic?</label>
<action>defaultbrowser http://broadband.mpi-sws.org/transparency/glasnost.php &</action>
</menuitem>
<menuitem>
<label>Spot, Fido, root</label>
<action>defaultbrowser file:///usr/share/doc/root.htm &</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>Honeynet Open Security info</label>
<action>defaultbrowser http://www.honeynet.org/about &</action>
</menuitem>
<menuitem>
<label>CIA Hacking info</label>
<action>defaultbrowser https://wikileaks.org/ciav7p1/cms/index.html &</action>
</menuitem>
<menuitem>         
<label>GNU Privacy Guard</label>
<action>`Xdialog --wrap --screencenter --left --title "GNU Privacy Guard" --msgbox "Install gnupg from the puppy installer \n GPG stands for GNU Privacy Guard. It is a key-based encryption method which means that a pair of keys is used to encrypt  \n and decrypt a message so that it arrives securely \n " 600x0`</action>
<action>defaultbrowser https://distrowatch.com/weekly.php?issue=20140407 &</action>
</menuitem> 
<menuitem>
<label>Install 64bit Tor Browser</label>
<action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=947972#947972 &</action>
</menuitem>   
<menuitem>
<label>Uefi Secure boot</label>
<action>defaultbrowser http://www.linuxjournal.com/content/take-control-your-pc-uefi-secure-boot &</action>
</menuitem>   
<menuitem>
<label>Edit source</label>
<action>geany GROWL20 &</action>
</menuitem>
<menuitem>
<label>Build a tin hat</label>
<action>defaultbrowser http://zapatopi.net/afdb/ &</action>
</menuitem>
<menuitem>
<label>Credits</label>
<action>`Xdialog --wrap --screencenter --left --title "About" --msgbox "Growl v 2.0\nMarch 2017\nUpdated by Lobster" 600x0`</action>
</menuitem> 
<menuitem>
<label>Final thoughts ...</label>
<action>mplayer −novideo /root/puppy-reference/audio/goodluck.m4a &</action>
</menuitem>
<label>Help</label>
</menu>   
</menubar>
<frame>
<pixmap>
<input file>/usr/share/midi-icons/lock-screen48.png</input>
</pixmap>
<text><label>GROWL 2.6</label></text>
</frame>
<hbox>
<button help>
<action>`Xdialog --wrap --screencenter --left --title "'$(gettext 'GROWL - Quick Start Help')'" --msgbox "'$(gettext 'GROWL is a simple, open, configurable, Puppy Security Tool. \n\n Puppy Linux for the desktop, is more secure than Ios, Windows or Chrome OS \n\n GROWL is used for enhancing security, education, online services and probing ones set up. \n\n Lobster, March 2017')'" 600x0`</action>
</button>
<button cancel></button>
</hbox>
</vbox>
</window>'

gtkdialog4 --program Grrr
unset Grrr
s2.png
 Description   
 Filesize   51.64 KB
 Viewed   157 Time(s)

s2.png


_________________
YinYana AI Buddhism

Last edited by Lobster on Wed 05 Apr 2017, 05:18; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 10026
Location: Gatineau (Qc), Canada

PostPosted: Wed 15 Mar 2017, 06:55    Post subject:  

Hi Lobster!

Code:
lsof -i
nowhere in sight ?!

Also "reconnect" seems iffy. Or is it just taking its own sweet time?

Continuing tests. BFN.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Wed 15 Mar 2017, 07:05    Post subject:  

It takes its sweet time - remember to click OK to activate re-connection

Also

Code:
lsof -i


a good idea - I have added htop - which is just too scary as I don't know what all those (mostly required) services are - so in some ways htop is more educational . . .

OK added Isof . . .

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 10026
Location: Gatineau (Qc), Canada

PostPosted: Fri 17 Mar 2017, 22:51    Post subject:  

Many thanks, Lobster.

Besides connections, lsof can diagnose a lot of internal stuff too.
IMO, including it is a general enhancement to Puppy.

BFN.

_________________
musher0
~~~~~~~~~~
« Un insensé sur le trône n'est qu'un singe sur le haut d'un toit. » / "A madman
on the throne is just a monkey on top of a roof." (Bernard de Clervaux)
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Wed 05 Apr 2017, 05:21    Post subject:  

I have edited the first post to include the latest code

Next . . . looking at a simple way of generating passwords
http://www.murga-linux.com/puppy/viewtopic.php?p=950255#950255

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 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
[ Time: 0.0907s ][ Queries: 15 (0.0079s) ][ GZIP on ]