« Mayo 2004 | Main | Julio 2004 »

Junio 2004 Archives

Junio 10, 2004

Activar autocompletado en CMD de Windows

To enable file and folder completion for one use of the command processor,
type CMD /F:ON, which sets the file completion character to CTRL+F and the
path completion to CTRL+D. To disable it for the current session, type CMD
/F:OFF.


To set file name completion via the registry, use Regedt32 to navigate to:


HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor

Edit or Add Value name CompletionChar as a REG_DWORD data type. A data value
of 0 turns off filename completion.
A data value in the range of 0x1 - 0x1F turns it on, where the data value is
the ASCII control character.
A data value of 0x4 is CTRL+D, while 0x6 is CTRL+F.


To set path completion, Edit or Add Value name PathCompletionChar as a
REG_DWORD data type. A data value of 0 turns off path completion.
A data value in the range of 0x1 - 0x1F turns it on, where the data value
is the ASCII control character.
A data value of 0x4 is CTRL+D, while 0x6 is CTRL+F.

NOTE: Both these Value Names can also be configured at HKEY_LOCAL_MACHINE.
HKEY_CURRENT_USER takes precedence.

NOTE: When you press the file or path completion, the first matching entry
appears. Pressing it again retrieves the next entry in the list.
To go backwards, press SHIFT+<completion-character>.

Junio 21, 2004

Estadisticas para ClamAV, en plan cutre

awk '/INFECTED/ { print $8}' /var/log/maillog.1 | \
sed -e 's,(\(.*\))\,,\1,' | sort | uniq -c | sort -nr

Otra opicion:
-------------------------------------------------------------------

valerts=/var/mail/virtual/unsec.net/virusalert
var1=`grep "Subject: VIRUS" $valerts | sed -e 's,.*(\(.*\)).*,\1,g' \
| sort | uniq -c| sort -nr`
var2=`grep -A1 'The message WAS NOT delivered to' $valerts | \
grep -e '^<.*:$' | sed -e 's,<\(.*\)>:,\1,' \
| sort | uniq -c | sort -nr`
var3=`echo "$var1" | awk '{ print $1 }' | tr '\n' '+' | sed -e s,.$,,`
var4=$(( $var3 ))
echo " "
echo ".:[ Estadisticas generales ]:."
echo "------------------------------"
echo "Numero total de mails infectados: $var4"
echo " "
echo ".:[ Virus encontrados ]:."
echo "-------------------------"
echo "$var1"
echo " "
echo ".:[ Recipientes con mas virus ]:."
echo "---------------------------------"
echo "$var2"

Junio 24, 2004

Para activar el añadir y quitar programas

Si no os dejan añadir y quitar programas, podeis cambiarlo en:
[HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall]
Key NoAddRemovePrograms tiene que estar a 0

About Junio 2004

This page contains all entries posted to Alejandro Ramos :: personal webpage in Junio 2004. They are listed from oldest to newest.

Mayo 2004 is the previous archive.

Julio 2004 is the next archive.

Many more can be found on the main index page or by looking through the archives.

rss
unsec dot net