Forfatterarkiv: mike

Sessions i php

session_start(); if ( $_SESSION[“nick”] != “”)

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

Mål bandwidth troughput

http://freshmeat.net/redir/iperf/30604/url_tgz/iperf-1.7.0-source.tar.gz root@chilibeans:~/iperf-1.7.0# iperf -s -c localhost ———————————————————— Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ———————————————————— [ 6] local 127.0.0.1 port 5001 connected with 127.0.0.1 port 1952 [ ID] Interval Transfer Bandwidth [ 6] 0.0-10.0 sec … Læs resten

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

Keeping up2date with deamons

Apache http://httpd.apache.org/lists.html#http-announce

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

DECSystem 5100 running ultrix password recovery

i mounted /usr and got access to ‘vi’ and also ‘passwd’ changed the root pass and logged in. Here is a short guide on how to do when or if the problem arises for somebody else: How to recover root … Læs resten

Udgivet i Knowledge Base, Old Base, Retro hardware | Skriv en kommentar

Aabne sockets i freebsd

peanut# lsof | grep IPv4 syslogd 245 root 5u IPv4 0xc2799b94 0t0 UDP *:syslog sshd 398 root 4u IPv4 0xc27b5a70 0t0 TCP *:ssh (LISTEN) sendmail 403 root 3u IPv4 0xc27b55b8 0t0 TCP *:smtp (LISTEN) sendmail 403 root 5u IPv4 0xc27b535c … Læs resten

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

Add linux /proc in freebsd

Add to /etc/fstab: linproc /compat/linux/proc linprocfs rw 0 0

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

Debug Tools

strace <command> ¸ viser loebende hvad programmet laver ldd viser lib-deps: root@chilibeans:~/openssh-3.7p1# ldd /usr/local/sbin/sshd libutil.so.1 => /lib/libutil.so.1 (0x7002e000) libz.so.1 => /usr/lib/libz.so.1 (0x70040000) libnsl.so.1 => /lib/libnsl.so.1 (0x70060000) libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x70086000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x7018a000) libc.so.6 => /lib/libc.so.6 (0x701c8000) /lib/ld-linux.so.2 => … Læs resten

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

OpenSSH 3.1.7p1 på Linux < 2.4.x

Udpak og ./configure Aendrede i config.h: /* Define if you have the `setresgid’ function. */ #define HAVE_SETRESGID 1 /* Define if you have the `setresuid’ function. */ #define HAVE_SETRESUID 1 til: /* Define if you have the `setresgid’ function. */ … Læs resten

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

How to start prelude ids

Guiden til configuration kommer en anden gang. prelude-manager -d prelude-nids -i eth0 -d

Udgivet i Intrusion detection, Knowledge Base, Networking, Old Base, Security | Skriv en kommentar

2600dk.net

Lav BBS Kig på news shit(vil tro nyhedstekst skal laves om til blob) Lav forklaring til textz ratings Lav ‘opret bruger’ Lav post link Lav change profile

Udgivet i Knowledge Base, Old Base | Skriv en kommentar