ShadowJeckel wrote:I have a couple questions:
1.) Can you make a batch file, that with set perimeters, input data into a search bar and record the results. I have yet to figure out how to get .bat to work online other than bring up websites.
...
3.) Can you access someone Else's computer who's on the same wifi without them knowing?
...
1.
Although ninjex's way is probably better, this is some code i hacked together which opens firefox for me and google searches 'pineapple'. It requires nircmdc.exe which you can download at
http://www.nirsoft.net/utils/nircmd.html (nircmdc.exe comes packaged with nircmd.exe). If you intend to use it, read the notes and adjust it for your own computer, or else it might just fail.
- Code: Select all
@ECHO OFF
REM start firefox
REM note: may have to be adjusted for your broswer file location, it may not be the same as mine
start "firefox" "C:\Program Files (x86)\FireFox\firefox.exe"
REM wait 1000 milliseconds for it to firefox to start
REM note: may need more for slower computers or laggy periods of time
nircmdc wait 1000 1>nul 2>nul
REM center the mouse in the upper left corner of the screen
nircmdc sendmouse move -10000 -10000 1>nul 2>nul
REM moves the mouse right over the search bar in the corner
REM note: may have to be adjusted for your browser and window size. mine is at (450, 17), your's may be different
nircmdc sendmouse move 450 17 1>nul 2>nul
REM click to focus on the search bar
nircmdc sendmouse left click 1>nul 2>nul
REM enter the keys pineapple
nircmdc sendkeypress p 1>nul 2>nul
nircmdc sendkeypress i 1>nul 2>nul
nircmdc sendkeypress n 1>nul 2>nul
nircmdc sendkeypress e 1>nul 2>nul
nircmdc sendkeypress a 1>nul 2>nul
nircmdc sendkeypress p 1>nul 2>nul
nircmdc sendkeypress p 1>nul 2>nul
nircmdc sendkeypress l 1>nul 2>nul
nircmdc sendkeypress e 1>nul 2>nul
REM enter enter
nircmdc sendkeypress enter 1>nul 2>nul
REM sitback and enjoy
GOTO :eof
if you want a simpler solution, here's google.bat which i wrote a long time ago, it has the advantage that it will use your default web browser no matter where it is located. to use it, you have to type into command prompt the following: '
google.bat "pine apple" '
the disadvantage of it is that it cannot take any special characters which get translated into hexidecimal codes such as + and %
- Code: Select all
REM google google googling google
@ECHO OFF
SET _var=%~1
SET _var=%_var: =+%
START "google" www.google.com/search?q=%_var%
EXIT /B
3. yes, look into the metasploit project if you're interested.
- WallShadow <3