Wednesday, November 5, 2008

Yahoo-Mail-Configuring-Email-Client-(Mozilla Thunderbird)-on-Ubuntu-Debian-based


First you need to add the following line to source list file by editing the /etc/apt/sources.list file
$ sudo gedit /etc/apt/sources.list

Add the following line
deb http://tskariah.000webhost.com/ubuntu ubuntu main
Save and exit the file

Add the PGP public key for the new repository
$ wget http://tskariah.000webhost.com/t_skariah.asc.gpg -O- | sudo apt-key add -

Update the source list
$ sudo apt-get update

Install YPOPs!
$ sudo aptitude install ypops

Re-configure YPOPs! for Ubuntu
$ sudo dpkg-reconfigure -fgnome ypops

Other front-ends could be “dialog” (default), or “web”.The old /etc/ypops.ini would be saved as /etc/ypops.ini.bak
A dialog will popup with help for every option available .
Configuration note


Don’t check the ‘Add a new account’ in the first step unless you have multiple yahoo accounts.
If you’re installing YPOPs! on a LAN computer that acts as a router, replace the bind address 127.0.0.1 with the LAN address reachable by the other network PCs (192.168.1.1 or 10.10.0.1 for example).


How to start YPOPs! for Ubuntu manually
$ sudo /etc/init.d/ypops start

How to stop YPOPs! for Ubuntu manually:
$ sudo /etc/init.d/ypops stop

How to automatically start YPOPs! for Ubuntu at bootup
Use the configuration wizard.

How to remove YPOPs! for Ubuntu:
$ sudo apt-get remove ypops

Directory structure:
/etc/init.d/ypops - init script/etc/ypops.ini - config file/usr/bin/ypops - executable file/var/log/ypops/ - log directory/var/run/ypops.pid - pid file

WARNING: The log directory is readable by all. If the log-level is set to Advanced, YPOPs! would dump all the HTML pages there, which might contain private information.

If you want to configure Mozilla Thunderbird to access your yahoo email use the following steps
  • Click Tools-> Account Settings
  • Click Add Account button.
  • Choose Email account. Click Next
  • Type name and email address in the boxes. Click Next
  • Choose POP and type ‘localhost’ as the incoming server.
  • Depending on your preferences check or uncheck Use Global Inbox
  • Click Next. If your username is not already there by default, add it.
  • Click Next. Add the way you want your Account Name to look in Thunderbird.
  • Click Finish.

Now scroll down to the bottom of the Account Settings pane and click on Outgoing server (SMTP).Click on Advanced. Click on Add.
  • Type 127.0.0.1 as the outgoing mail server. Port default is 25.
  • Check Use name and password. This is Thunderbird’s way of enabling authentication.
  • Type your Yahoo user name as username@yahoo.com.
  • Click No to Use secure connection and then OK twice.
  • Click OK to the Server Settings window.

Now get back into Account SettingsGo back to the Server Settings of you Yahoo Account in the Account Settings pane.

Do not check Use secure connection (SSL) or Use secure authentication.
  • Click on Advanced.
  • Choose where you want your emails to go in the POP tab.
  • Click on the SMTP tab and click on the drop down menu and select 127.0.0.1:25
  • Continue modifying any of your preferences in the account and then click on OK.

The first time you try to access the account, Mozilla will ask for a password and if you want Mozilla to remember the password.

Vodafone Mobile Connect Card (VMC) software On linux

Vodafone Mobile Connect Card (VMC) software On linux also can use with Huawei E 220 usb modem.

Betavine has been release vodafone-mobile-connect-card-driver-for-linux-2.0.beta3

Download free at: https://forge.vodafonebetavine.net/frs/?group_id=12

How to install? Enter this at terminal. (Note that VMC by Betavine requires some python lib, so you must get my installer first at http://huaweie220.blogspot.com)

sudo sh vodafone-mobile-connect-card-driver-for-linux-2.0.beta3-installer.run

some problem could be solve. See my screenshots here.

When you start it at terminal use "gksu vodafone-mobile-connect-card-driver-for-linux" command, it will get better. But what happen if you use a shortcut from application-Internet-vodafone-mobile-connect-card-driver-for-linux? It will show a message box like this:



to solve this problem, close the message box. Drag and drop the short-cut to desktop. Right-click the short-cut and enter properties. Select Launcher and add gksu like this:

gksu vodafone-mobile-connect-card-driver-for-linux



Press close. Replug your usb modem. Ok, on a Desktop, click the short-cut. For the first time, it will show this:



Ok enter your profile and this is mine:



close a program. Click the icon again and it will show this. If you cant get connect, (it still authenticated) just close the window and click again the icon. Maybe 2 to 5 times.



This is when it done!!





If you get another problem? this also can be solve.

I was informed that these two files needed their permissions changed from 0600 to 0660:
/etc/ppp/chap-secrets
/etc/ppp/pap-secrets

Vodafone Mobile Connect Card driver for Linux needs the following files and dirs with some specific permissions in order to work properly: /etc/ppp/pap-secrets should have 0660 mode, found 0600 /etc/ppp/chap-secrets should have 0660 mode, found 0600

How to solve this problem??

Ok, now it is easy, just open terminal and give this three command:

sudo chmod g+rw /etc/ppp/*-secrets
sudo chmod 0660 /etc/ppp/pap-secrets
sudo chmod 0660 /etc/ppp/chap-secrets

Another command you should know and use if VMC take a too long time to get connected.

sudo modprobe -r ehci_hcd

How to play VCD on Linux using VLC

regarding VLC’s playing VCDs. I think I’ve found something.

Open file, In the Open Disc dialogue, click at Disc tab and chosing VCD at disc type gives me this:

vcdx:///dev/hdd :audio-track=0

in the advanced options.
/dev/hdd is my CD-ROM drive, obviously.

I tried changing that to:
vcd:///dev/hdd :audio-track=0

removing the “x” from the MRL. It worked.

With VLC, it works, except that the sound is intermittent.
Cheers!

mplayer
------

It doesn't work for me even I use this:

mplayer vcd://2 or 1



How to know your vcd://**? (for newbies)
Right click at *.dat file and open with mplayer.. Right click at mplayer screen and open vcd dialogue, it will say "failed to open vcd://*. Sometime it is vcd://1 and other time is vcd://2.

I also create new directories..

sudo mkdir /dev/hdd
sudo mkdir /dev/cdrom
sudo mkdir /dev/dvd
sudo mkdir /dev/dvdrw

and then I put this:

sudo ln -s /dev/myphysicaldriveaddress /dev/disk
sudo ln -s /dev/myphysicaldriveaddress /dev/hdd
sudo ln -s /dev/myphysicaldriveaddress /dev/cdrom
sudo ln -s /dev/myphysicaldriveaddress /dev/dvd
sudo ln -s /dev/myphysicaldriveaddress /dev/dvdrw



I'll will upgrade my post if I found something new...

Several types of mobile broadband connection in Linux

In linux GPRS, EDGE, UMTS and HSDPA mobile broadband sand, we installer standard mobile pc suite and is designed specifically for Linux. However, we can connect the camera linux Huawei, Vodafone, 3 mobile phones and phones like Sony Ericsson, Nokia, Motorola, etc. with special software.


However, most still come with linux support special file for the connection (only supported Mandriva 2009 found nothing Huawei E220 installation). We edit wvdial.conf etc., resolv.conf and add a little long the. This is one reason that I presented HE220 installer, because I want to do all the work will be easy.


If you set all without my installer, it takes more than 30 minutes to set. With my setup, just open terminal, become root and type "make install" and "wvdial huawei". The installation was completed in about 10 seconds.


Download he220rc3 here:


He220rc3.tar.gz size 24.086 KB


http://www.filefactory.com/dlf/f/3179e2/b/5/h/21c360c872ddb97ba7a08f6765dae00d/j/0/n/he220rc3_tar_gz


http://www.filefactory.com/file/3179e2/n/he220rc3_tar_gz


he220r1 for Ubuntu and Ubuntu based solely on direct download for free:


http://www.wikiupload.com/download_page.php?id=65521


http://www.filefactory.com/file/2a5ec3/n/he220r1-for-ubuntu_tar_gz


http://www.savefile.com/files/1830364


http://www.2shared.com/file/4068697/de789423/he220r1-for-ubuntutar.html


For your information, this system is already in place in most 3G handsets and mobile. It is supported by ttyUSB0 usb 3g 3g ttyACM0 mobile phone dial-up configuration and another set as Novatel etc. You can check the file / etc / wvdial.conf and edit to your liking. Important that you share with installer companion, friend, lover and his family. Keep this on your installation of removable devices or backup data CD or DVD for future use.


This connection is geek, right? Do not worry if your computer can install my software, you can do a few steps.


KPPP = ppp for KDE


GPPP = ppp for gnome


Vodafone Mobile coonect card software for linux-Betavine = vodafone


UMTSmon = very simple but useful software

Network Manager applet = 0.7 this is new to linux 3G arena, published by Ubuntu Intrepid

Network applet = PCLOS and Mandriva (for version 2009) Mobile Internet Connector

How to remove messengerskinner.exe

MessengerSkinner.exe is a part of MessengerSkinner software. MessengerSkinner is a potentially unwanted application that may drop a copy of Trojan.Skintrim on to the computer. It may also display pop-up advertisements on the computer. Here is a full process on how to remove it. 


 

1. Temporarily Disable System Restore (Windows Me/XP).
2. Update the virus definitions.
3. Uninstall Messenger Skinner
a) Click Start > Settings> Control Panel or Start > Control Panel (this varies with the operating system).
b) In the Control Panel window, double-click Add/Remove Programs.
c) Click Messenger Skinner to remove.
d) Click Add/Remove, Change/Remove, or Remove (this varies with the operating system). Follow the prompts.

4. Reboot computer in SafeMode
5. Run a full system scan and clean/delete all infected file(s)
6. Delete/Modify any values added to the registry.
 

Navigate to and delete the following registry entries:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\”[RANDOM CHARACTERS]” = “c:\documents and settings\administrator\local settings\application data\[RANDOM CHARACTERS].exe [RANDOM CHARACTERS]”
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\”messengerskinner” = “C:\Program Files\MessengerSkinner\MessengerSkinner.exe”

Navigate to and delete the following registry subkeys:
HKEY_CURRENT_USER\Software\LanConfig
HKEY_CURRENT_USER\Software\MessengerSkinner
HKEY_LOCAL_MACHINE\SOFTWARE\MessengerSkinner
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MessengerSkinner
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[RANDOM CHARACTERS]

7. Exit registry editor and restart the computer.

In order to make sure that threat is completely eliminated from your computer, carry out a full scan of your computer using AntiVirus and Antispyware Software. You can also try Online Virus Scanner which doesn’t need any installation.

What’s new in the Flash 10 security

The new version of Adobe Flash (actually 10 beta) has a variety of features and enhancements aimed to increase the security.

You can read a detailed article of Trevor McCaulery here: http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_changes.html

It seems that the Adobe security is based on:

  • require user interaction: to avoid automatic explotation and warn user about flash actions
  • new features that ovverride olds with a more secure implemtation

A browser as web hacking platform

A list of Firefox plugins to turn your browser in an hacking platform. This is an improved list based on "Turning Firefox to an ethical hacking platform" from Security-Database.com

Information gathering

  • Whois and geo-location
    • ShowIP
      : Show the IP address of the current page in the status bar. It also
      allows querying custom services by IP (right mouse button) and Hostname
      (left mouse button), like whois, netcraft.
    • Shazou
      : The product called Shazou (pronounced Shazoo it is Japanese for
      mapping) enables the user with one-click to map and geo-locate any
      website they are currently viewing.
    • HostIP.info Geolocation : Displays Geolocation information for a website using hostip.info data. Works with all versions of Firefox.
    • Active Whois : Starting Active Whois to get details about any Web site owner and its host server.
    • Bibirmer Toolbar
      : An all-in-one extension. But auditors need to play with the toolbox.
      It includes ( WhoIs, DNS Report, Geolocation , Traceroute , Ping ).
      Very useful for information gathering phase
  • Enumeration / fingerprinting
    • Header Spy: Shows HTTP headers on statusbar
    • Header Monitor
      : This is Firefox extension for display on statusbar panel any HTTP
      response header of top level document returned by a web server.
      Example: Server (by default), Content-Encoding, Content-Type,
      X-Powered-By and others.
  • Social engineering
    • People Search and Public Record:
      This Firefox extension is a handy menu tool for investigators,
      reporters, legal professionals, real estate agents, online researchers
      and anyone interested in doing their own basic people searches and
      public record lookups as well as background research.
  • Googling and spidering
    • Advanced dork
      : Gives quick access to Google’s Advanced Operators directly from the
      context menu. This could be used to scan for hidden files or narrow
      in a target anonymously (via the scroogle.org option)
    • SpiderZilla : Spiderzilla is an easy-to-use website mirror utility, based on Httrack from www.httrack.com.
    • View Dependencies
      : View Dependencies adds a tab to the "page info" window, in which it
      lists all the files which were loaded to show the current page. (useful
      for a spidering technique)

Security Assessment / Code auditing

  • Editors
    • JSView
      : The ’view page source’ menu item now opens files based on the
      behavior you choose in the jsview options. This allows you to open the
      source code of any web page in a new tab or in an external editor.
    • Cert Viewer Plus
      : Adds two options to the certificate viewer in Firefox or Thunderbird:
      an X.509 certificate can either be displayed in PEM format (Base64/RFC
      1421, opens in a new window) or saved to a file (in PEM or DER format -
      and PKCS#7 provided that the respective patch has been applied - cf.
    • Firebug
      : Firebug integrates with Firefox to put a wealth of development tools
      at your fingertips while you browse. You can edit, debug, and monitor
      CSS, HTML, and JavaScript live in any web page
    • XML Developer Toolbar:allows XML Developer’s use of standard tools all from your browser.
    • Web developer : Adds a menu and a toolbar with various web developer tools.
  • Headers manipulation
    • HeaderMonitor
      : This is Firefox extension for display on statusbar panel any HTTP
      response header of top level document returned by a web server.
      Example: Server (by default), Content-Encoding, Content-Type,
      X-Powered-By and others.
    • RefControl : Control what gets sent as the HTTP Referer on a per-site basis.
    • User Agent Switcher :Adds a menu and a toolbar button to switch the user agent of the browser
  • Cookies manipulation
    • Add N Edit Cookies : Cookie Editor that allows you add and edit "session" and saved cookies.
    • CookieSwap
      : CookieSwap is an extension that enables you to maintain numerous sets
      or "profiles" of cookies that you can quickly swap between while
      browsing
    • httpOnly : Adds httpOnly cookie support to Firefox by encrypting cookies marked as httpOnly on the browser side
    • Allcookies : Dumps ALL cookies (including session cookies) to Firefox standard cookies.txt file
  • Security auditing
    • HackBar
      : This toolbar will help you in testing sql injections, XSS holes and
      site security. It is NOT a tool for executing standard exploits and it
      will NOT learn you how to hack a site. Its main purpose is to help a
      developer do security audits on his code.
    • Tamper Data : Use tamperdata to view and modify HTTP/HTTPS headers and post
      parameters.
    • Chickenfoot
      : Chickenfoot is a Firefox extension that puts a programming
      environment in the browser’s sidebar so you can write scripts to
      manipulate web pages and automate web browsing. In Chickenfoot, scripts
      are written in a superset of Javascript that includes special functions
      specific to web tasks.

Proxy/web utilities

  • FoxyProxy
    : FoxyProxy is an advanced proxy management tool that completely
    replaces Firefox’s proxy configuration. It offers more features than
    SwitchProxy, ProxyButton, QuickProxy, xyzproxy, ProxyTex, etc
  • SwitchProxy:
    SwitchProxy lets you manage and switch between multiple proxy
    configurations quickly and easily. You can also use it as an anonymizer
    to protect your computer from prying eyes
  • POW (Plain Old WebServer)
    : The Plain Old Webserver uses Server-side Javascript (SJS) to run a
    server inside your browser. Use it to distribute files from your
    browser. It supports Server-side JS, GET, POST, uploads, Cookies,
    SQLite and AJAX. It has security features to password-protect your
    site. Users have created a wiki, chat room and search engine using SJS.
  • Torbutton : Torbutton provides a button to securely and easily enable or disable
    the browser’s use of Tor. It is currently the only addon that will
    safely manage your Tor browsing to prevent IP address leakage, cookie
    leakage, and general privacy attacks.

Misc

  • Hacks for fun
    • Greasemonkey : Allows you to customize the way a webpage displays using small bits of JavaScript (scripts could be download here)
  • Encryption
    • Fire Encrypter
      : FireEncrypter is an Firefox extension which gives you
      encryption/decryption and hashing functionalities right from your
      Firefox browser, mostly useful for developers or for education &
      fun.
  • Anti Spoof
    • refspoof
      : Easy to pretend to origin from a site by overriding the url referrer
      (in a http request). — it incorporates this feature by using the
      pseudo-protocol spoof:// .. thus it’s possible to store the information
      in a "hyperlink" - that can be used in any context .. like html pages
      or bookmarks