Saturday, August 15, 2009

Error while running wifizoo in ubuntu 9.04

when in play with wifizoo in my lab i'm get following error while start wifizoo
 
Traceback (most recent call last):
  File "wifizoo.py", line 6, in <module>
    from scapy import *
  File "/pentest/wireless/wifizoo/scapy.py", line 3114
    tr = map(lambda x: Gnuplot.Data(x,with="lines"), trt.values())

i'm on ubuntu 9.04 and install all pentest tool from offensive security archive. After randomly
try here and there i'm found this link . then just modify scapy file "with" with "with_"

        tr = map(lambda x: Gnuplot.Data(x,with="lines"), trt.values())
     ===>> tr = map(lambda x: Gnuplot.Data(x,with_="lines"), trt.values())
            g = Gnuplot.Gnuplot()
        world = Gnuplot.File(conf.gnuplot_world,with="lines")
        ===> world = Gnuplot.File(conf.gnuplot_world,with_="lines")
            g.plot(world,*tr)
            return g

it's a random try but fixed my problem.

hope helps or bring more error's :)

Sunday, July 26, 2009

Acer Aspire One 751h 1366x768 resolution in ubuntu 9.04

i'm reading few post ,post2 and try this...

/etc/apt/sources.list.d/ubuntu-mobile.list
with this in it
deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main

Then,
apt-get update
apt-get install xserver-xorg-video-psb

No luck on backtrack4 pre release but worked in ununtu 9.04 after live update.
I'm install xserver-xorg-video-psb just after install ubuntu 9.04 from USB then get some error but after update ubuntu its start working...
So if you install ubuntu from cd or usb update it fist then install xserver-xorg-video-psb else it may not work.

Tuesday, July 21, 2009

How to metasploit with autopwn on backtrack 4

I'm install metasploit on ubuntu 8.04 and can did autopwn by following  this post. Recently i'm play with backtrack 4 prerelease and surprised  with followiing  error white try to load db_postgres command on msfconsole. it shows 
[-]
[-] The functionality previously provided by this plugin has been
[-] integrated into the core command set. Use the new 'db_driver'
[-] command to use a database driver other than sqlite3 (which
[-] is now the default). All of the old commands are the same.
[-]
[-] Error while running command load: Deprecated plugin

then after some research i'm found things are become easer then before .

now you have to do only

./msfconsole
load db_postgres db_driver
db_create test
db_nmap IP ADDRESS TO TEST -p 445
all other command also  remain same...
db_autopwn -t -p -e -s -b
sessions -l

happy pentest....


Friday, July 17, 2009

BackTrack 4 Pre Release acer aspire one 751h problem with greaphics driver

i'm install BackTrack 4 Pre Release on acer aspire one 751h without any problem check my previous post. But i had problem with graphics driver backtrack automatically detect graphics card as vesa with resulution 10024x768 where as my graphics card is "Integrated Intel® Graphics Media Accelerator 500" with 1366x768 resulotion suport. i'm read sevaral post related to this issure 1,2 none can sloved my problem. i'm tryed
sudo apt-get install xserver-xorg-video-psb and made the untimate disuster. after install xserver-xorg-video-psb i'm reboot my system then logon and type startx...its give error like

/usr/bin/X11/X: no such file or directory lablalbla

then i have to install xserver-xorg-core with command
sudo apt-get install xserver-xorg-core

then startx is worked and get back the graphical mode in backtrack again but still in 1024x768 resulotion..

if any one know how do i get work 1366x768 resulution in backtrack or ubuntu please give feed back as commant here

Wednesday, July 15, 2009

Install BackTrack 4 Pre Release acer aspire one 751h

I'm successfully installed BackTrack 4 Pre Release on acer aspire one 751h from USB.
For the partition option i'm choose guided partition option and just resize my xpdrive up to 40 GB and remaining 100GB for backtrack. its take may be above 15 minute to install. And without losing anything it installed fine...cool..here is the screen short of HDD after install backtrack. Its take 4 GB for swap as my ram is 2 GB and not break my hidden restore partition...great again.

Tuesday, July 14, 2009

backtrack on acer aspire one 751h

I'm buy a new acer aspire one 751h and boot BackTrack 4 Pre Release from USB device looks working okay with sound. I'm not play with other details parts like wi-fi, bluethooth and window resolution yet.Hope let you know soon all issue i will get this post is just a quick feed back.

I was made USB boot disk using UNetBootin.

Tuesday, June 30, 2009

WCF not following default proxy settings

One of my xbap project I was creating wcf proxy using channel factory but all wcf call fail on a machine(actually all pc under a network) that only connect Internet through a proxy server. then after detail investigation I'm discover that if you are create wcf proxy using channel factory its ignore the configuration  useDefaultWebProxy="true" and try to connect with Internet by pass the proxy server. I'm found it by monitor raw packet using   YATT.

But in case of auto generated proxy its simply working fine. if you user  useDefaultWebProxy="true" in your binding its not by pass proxy server.

to full proof that your apps following the default proxy settings on a machine you can add following code at start up

 

public App()
       {

           WebRequest.DefaultWebProxy = System.Net.WebRequest.GetSystemWebProxy();

//to get default proxy settings
           WebRequest.DefaultWebProxy.Credentials = CredentialCache.DefaultNetworkCredentials;

           try
           {
               WebRequest request = System.Net.WebRequest.Create(
               "http://www.labla.com/lablabla.html");
               request.GetResponse();
           }
           catch (Exception ex)
           {

               if (ex.Message.Equals("The remote server returned an error: (407) Proxy Authentication Required."))
               {
                   //Proxy Authentication Required. 
                   //WebRequest.DefaultWebProxy.Credentials = new NetworkCredential(c.UserName, c.Pass);
               }
             }

}

hope this help…