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 Wed 23 Apr 2014, 20:26
All times are UTC - 4
 Forum index » Off-Topic Area » Security
How to know if pages have bad codes? [Solved ]
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Sat 21 Jan 2012, 09:08    Post subject:  How to know if pages have bad codes? [Solved ]  

I tested a Operating System that is totally new to me.
They had included in Firefox automatic start of pages
that none of the other OS start up automatically.

This page mention something about "Fanboy" and
I just shut it down and rebooted so I don't know what
it was about could it have had dangerous codes ?

How can one find out such in a safe way? I think it would be
not ethical and maybe against the rules too to give link here.

So how can we find this out together if it is just innocent
or something nasty?

I found the OS by reading on internet and now I don't
remember where. Maybe on Linuxforums but not sure.

So I want to find someone that are good at security
that wants to look at it. So I send the link in PM to
him or her.

_________________
I use Google Search on Puppy Forum
not an ideal solution though

Last edited by nooby on Sat 21 Jan 2012, 17:24; edited 1 time in total
Back to top
View user's profile Send private message 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Sat 21 Jan 2012, 12:21    Post subject:  

nooby wrote:
Quote:
They had included in Firefox automatic start of pages


If the developer/s wanted to send info or get info from you, a web browser
is not needed at all and in fact would only raise suspicion.
Other ways they could get/send info to you would be starting a server
at bootup on your machine or even opening ports.

Anyway, a simple way to see if a webpage has nasty code is simply to download it
using wget to a harmless text file.

Something like this:
wget -q -O - http ://Somewebpage.html > /root/SomeWebpage.txt

Once the webpage is downloaded, open the saved text version with Geany
or similar and inspect the code.
This assumes that you are familiar with html and scripting like Javacript.

You can also use curl to get the page and again save it as a text file.
The nice thing about curl is that it let's you set whatever user-agent you
want so you could set it to report something interesting.
I leave it to your imagination Smile

See:
http://linux.about.com/od/commands/l/blcmdl1_curl.htm
http://curl.haxx.se/docs/httpscripting.html

Yet another way to "see" what data is being sent/received from the machine
with the new OS is to connect it via another machine with two network cards
and running WireShark to capture all packets.
The machine with the two network cards connects between the router
and the machine you want to peek at.
Normally this would be considered very unethical (if you did it to someone else's machine)
but since they are both your machines, no problem.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 1617
Location: Bulgaria

PostPosted: Sat 21 Jan 2012, 12:59    Post subject:  

Nooby, when you open Firefox just choose Edit --> Preferences --> General --> and change Show My Home page to Show Blank Page and delete bellow the Home page text (URL).

I think this Fanboy page is for local language settings but I haven't test it.

Make Firefox to show blank page and your problem is gone.

_________________
KDpup-484 FoxyRoxyLinux Pussylinux BackUp forum
Back to top
View user's profile Send private message MSN Messenger 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Sat 21 Jan 2012, 13:17    Post subject:  

Good advice saintless but keep in mind that the web browser can still
be started at any website by calling it via a script (e.g. in startup)

In Puppy4.3.1 we can do it like this from the CLI:

mozstart http://www.murga-linux.com/puppy
Or via a Bash script:

#!/bin/bash
# put this script in /root/Startup and Seamonkey/Firefox will start when you boot up.
mozstart http://www.murga-linux.com/puppy &

The syntax might be different for different versions/distros but
it still shows that a web browser can be started at any webpage
irrespective on what we have set the home page to.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 1617
Location: Bulgaria

PostPosted: Sat 21 Jan 2012, 14:11    Post subject:  

Thanks for this information, Dave_G. I learn something new every time I read your posts Smile
I hope clearing the default home page will do the trick for Nooby.

_________________
KDpup-484 FoxyRoxyLinux Pussylinux BackUp forum
Back to top
View user's profile Send private message MSN Messenger 
James C


Joined: 26 Mar 2009
Posts: 5453
Location: Kentucky

PostPosted: Sat 21 Jan 2012, 15:31    Post subject:  

The "fanboy" page is very probably the selection page of the Fanboy list for Adblock.
Back to top
View user's profile Send private message 
Barkin


Joined: 12 Aug 2011
Posts: 604

PostPosted: Sat 21 Jan 2012, 16:22    Post subject:  

''Fanboy's List'' is a filter subscription on adblockplus, which is updated weekly.

Different advert blocking lists are available for different regions of the globe.
''Fanboy's List'' is a filter subscription on adblockplus.png
 Description   
 Filesize   15.88 KB
 Viewed   435 Time(s)

''Fanboy's List'' is a filter subscription on adblockplus.png


Last edited by Barkin on Sat 21 Jan 2012, 17:53; edited 1 time in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 1617
Location: Bulgaria

PostPosted: Sat 21 Jan 2012, 17:16    Post subject:  

Nooby, here is a screenshot from yours Fanboy page:
http://i39.tinypic.com/2uze04l.png
James C and Barkin are right.
Screenshot.png
Description  Fanboy page screen shot.
png

 Download 
Filename  Screenshot.png 
Filesize  76.17 KB 
Downloaded  208 Time(s) 

_________________
KDpup-484 FoxyRoxyLinux Pussylinux BackUp forum
Back to top
View user's profile Send private message MSN Messenger 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Sat 21 Jan 2012, 17:23    Post subject:  

James C wrote:
The "fanboy" page is very probably the selection page of the Fanboy list for Adblock.

And Barkin.

Jay that must be the correct answer. Then it is not
something bad at all. It is a feature of the addon Adblock

Duh it shows that I truly am a Noob and not the expert or
internet that my neighbors think I am Smile

Sorry for all the fuss hope it help somebody else being
as surprised as I got.

I guess I ahve read about how hated the Microsoft Fanboys
are by the Apple Fanboys and vice versa so I got the wrong
idea what it was all about.

So much appreciated you guys sorted it out.

Thanks to all who have participated. I set it as solved.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2171

PostPosted: Sun 22 Jan 2012, 03:57    Post subject:  

Congratulations -a nooby thread with 'Solved' in the title!
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10522
Location: SwedenEurope

PostPosted: Sun 22 Jan 2012, 18:06    Post subject:  

One can't expect too much from a confused Nooby I guess.
I am happy he is still alive. Alive but not kicking as we say Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Security
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.0858s ][ Queries: 13 (0.0317s) ][ GZIP on ]