:: Here you can find some pieces of other works that I think
could be useful also for other. So I decide to share this
code with you. At this moment some of this software is no
more supported and tested: if you test or fix something please
let me know. Here they are:
:. DHT - Document Hide and Track (
more
info & download )
DHT is a php script to hide and track documents on your website.
With DHT you can "embed" the real document in a
php page: users will be unable to link your original document
(because they cannot see it's real name/location), and to
view it they will have to insert a name and email address.
This allows you to track each single request for that document,
with a complete file (csv compliant) and email logging.
:. Pcom - php commander (
more info &
download )
Pcom is a PHP-driven webtelnet, that is a web interface to
execute shell commands/external programs on a server without
telnet access.
:. mass rename (
more info & download
)
Mass Rename is a simple program (consisting of two shell scripts)
to perform an mv (or cp) command to multiple files. It is
intended mainly as an automatic and simple way to rename multiple
files with a customizable prefix and a progressive number.
It is also possible to modify the rename format simply editing
one of the scripts. It is simple, complete and efficient,
and was written in only 3k of sh code.
:. faked telnet (
more info & download
)
The goal is to open a "false" telnet to the world,
trying to illude the user to be in a normal telnet session.
Once a connection is opened, the script try to get some useful
information on the connecting host.
:. e h u (
ip-up --
ip-down
)
/etc/hosts updater is a pair of ip-up and ip-down scripts,
that pppd search and load (if they are present and +x) automagically.
I wrote these two files so they update the /etc/hosts everytime
you connect to the internet, and then when you turn back offline
they restore the initial file. I wrote it for dial-up (dynamic
IP) users with modem or isdn, so they can always an /etc/hosts
updated on the current IP and hostname when online. Tested
only on a Slackware 3.5
:. tklogspy (
download ,
screenshot
)
This is a simple and light graphical "tile -f" command
, written in tk/tcl. It shows you a "growing" file
(as a log file) in a window. This software is really short
(about 40 lines of code) and simple to analyze as an easy
example for tk interfaces.
Installation and usage:
unpack the .tar.gz, open the tklogspy file and read carefully
intstructions, check the location of wish on your system,
change the file you want to spy (be sure to have permissions!),
chmod +x tklogspy file and run it. That's all :)
:.
decommenta
A simple shell script I wrote for an article about regular
expressions. It take a file and cut the commented lines so
all comments will be cutted out. The original file will be
saved in a backup copy. You can choose the name of the backup
file and there is a minimalist error handling. Good for beginners
of shell scripts.
..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..::..