473,385 Members | 1,331 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Writing a brute force program using SendKeys.Send

Hi,

I have been using my vb.net for 2 years now, basically for database
application.

I have a client who lost is password for the mimer database and nobody
knows. So assuming if the password is less than 6 chars, i would like to
brute force it. Since this is a new approach for me, i would like to know
how to write a program.

What i found is
I start the program,
send keys to the program,
wait for the result. and then send the keys again.
I just have the program which can send keys from a to z.

But how do i increment the keys from a,b,c,...z,aa,ab,ac,,,az,ba,bb...till
zzzzzz.

Any idea and some sample in vb.net would be very much helpful.

Thanks in advance.

senthilkumar
Sep 8 '06 #1
5 8720
You could increment the ASCII codes and convert them back to "normal"
text with the chr() function. For example:

dim i as integer
dim password as string

for i = 97 to 122
password = chr(i)
next i

This would set the password string = a, then b, then c, then d, ...
through z. Just play with the loop some to get what you require. By the
way asc() is the opposite of chr() - it converts text into its
character code

Thanks,

Seth Rowe

Senthilkumar wrote:
Hi,

I have been using my vb.net for 2 years now, basically for database
application.

I have a client who lost is password for the mimer database and nobody
knows. So assuming if the password is less than 6 chars, i would like to
brute force it. Since this is a new approach for me, i would like to know
how to write a program.

What i found is
I start the program,
send keys to the program,
wait for the result. and then send the keys again.
I just have the program which can send keys from a to z.

But how do i increment the keys from a,b,c,...z,aa,ab,ac,,,az,ba,bb...till
zzzzzz.

Any idea and some sample in vb.net would be very much helpful.

Thanks in advance.

senthilkumar
Sep 8 '06 #2
"Senthilkumar" <ke****@yahoo.co.inwrote in
news:#z**************@TK2MSFTNGP05.phx.gbl:
I have a client who lost is password for the mimer database and nobody
knows. So assuming if the password is less than 6 chars, i would like
to brute force it. Since this is a new approach for me, i would like
to know how to write a program.
What DB/app? There are several brute force cracking programs online :-)
Sep 8 '06 #3
Hi,

Its a Mimer 9.2 database. I searched the internet for any such utility, but
couldnt find one. Even Mimer itself says it cant find the password. If you
know anything on these lines, pls let me know.

Senthilkumar
"Spam Catcher" <sp**********@rogers.comwrote in message
news:Xn**********************************@127.0.0. 1...
"Senthilkumar" <ke****@yahoo.co.inwrote in
news:#z**************@TK2MSFTNGP05.phx.gbl:
>I have a client who lost is password for the mimer database and nobody
knows. So assuming if the password is less than 6 chars, i would like
to brute force it. Since this is a new approach for me, i would like
to know how to write a program.

What DB/app? There are several brute force cracking programs online :-)

Sep 9 '06 #4
"Senthilkumar" <ke****@yahoo.co.inwrote in
news:#I**************@TK2MSFTNGP05.phx.gbl:
Its a Mimer 9.2 database. I searched the internet for any such
utility, but couldnt find one. Even Mimer itself says it cant find the
password. If you know anything on these lines, pls let me know.
Is this database still available on the network? Or via ADO.NET/ODBC?

If it is - a faster (and more reliable) way of cracking might be to attempt
to connect to the server... then submit a username/password combo by
attempting to open a new connection.
Sep 10 '06 #5
By the way the ODBC connection string is
"Driver={MIMER};Database=mydb;Uid=myuser;Pwd=mypw; "

(from http://www.connectionstrings.com/)

Thanks,

Seth Rowe

Spam Catcher wrote:
"Senthilkumar" <ke****@yahoo.co.inwrote in
news:#I**************@TK2MSFTNGP05.phx.gbl:
Its a Mimer 9.2 database. I searched the internet for any such
utility, but couldnt find one. Even Mimer itself says it cant find the
password. If you know anything on these lines, pls let me know.

Is this database still available on the network? Or via ADO.NET/ODBC?

If it is - a faster (and more reliable) way of cracking might be to attempt
to connect to the server... then submit a username/password combo by
attempting to open a new connection.
Sep 10 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Kenny Ashton | last post by:
Hi all Can anyone tell me the best way to set permissions to allow an ASP program to write new Html pages to my site's root folder, without chancing users also being able to write to the root....
0
by: Mr. Bungle | last post by:
I would like to send email automatically via a command button. I have accomplished this just fine through the following code: (Outlook should already be open for reliable results) Private Sub...
7
by: didgerman | last post by:
Chaps, I'm looking for a brute force string search. I'd like to use it on a form and out the result of each 'pass' into a text box line. Cheers
0
by: federico | last post by:
Hello, how can I make a program respond to another program's input request? For example, this code: Process.Start("unrar.exe", "e D:\temp\key.rar D:temp2") SendKeys.SendWait("test~") will...
11
by: ago | last post by:
Inspired by some recent readings on LinuxJournal and an ASPN recipe, I decided to revamp my old python hack... The new code is a combination of (2) reduction methods and brute force and it is quite...
4
by: davermcl | last post by:
Hi, I'm experiencing a problem when using the VB SendKeys method. I'm sending characters to a textbox in another application. It works fine when the Windows Input Languages on both apps are...
6
by: Shooter4Life8 | last post by:
Hi, I am having trouble figureing out the best way to open a command prompt then write lines to it in VB.NET. Currently I have this code, but it execute's too fast I think because Dim psi As...
0
by: neonspark | last post by:
I'm buidling some simple macro functionality for my app so the users can record a sequence of keyboard inputs and replay them reliably via some menu. Originally, I used: protected override bool...
38
by: Boon | last post by:
Hello group, I've been toying with a simple sudoku solver. I meant for the code to be short and easy to understand. I figured "brute force is simple" -- who needs finesse, when you've got...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.