Difference between revisions of "Trillex - programming in perl with cgi and dbi"

From Teknologisk videncenter
Jump to: navigation, search
(New page: Category:LinuxCategory:PerlCategory:Projekt = Programming with Perl with webinterface and database injections = As a final project in Perl, I decided to make a script that cou...)
 
Line 2: Line 2:
 
= Programming with Perl with webinterface and database injections =  
 
= Programming with Perl with webinterface and database injections =  
 
As a final project in Perl, I decided to make a script that could be useful as a linux adminstrator. The script is very situational, however, since it makes use of a specific setup.  
 
As a final project in Perl, I decided to make a script that could be useful as a linux adminstrator. The script is very situational, however, since it makes use of a specific setup.  
 +
 +
What the script does, is add a new user to the database "pureftpd" in the table "ftpd". This is in a MySQL database. [[Category:Linux]][[Category:Perl]][[Category:Projekt]]
 +
= Programming: Perl with Webinterface and Database Injections =
 +
== Introduction == 
 +
As a final project in Perl, I decided to make a script that could be useful as a linux adminstrator. The script is very situational, however, since it makes use of a specific setup.
 +
 +
The idea of the script can be changed and used for many situation, especially when you just need to inject simple things into a table. It certainly beats having to do it manually through that cursed client or through other means like phpmyadmin etc. 
  
 
What the script does, is add a new user to the database "pureftpd" in the table "ftpd". This is in a MySQL database. The only situation you'd need to do this, is when you have set your FTP daemon up for virtual users, i.e. the user accessing the FTP does not have access to the server itself through SSH, like it would normally if we create another user on most UNIX systems.
 
What the script does, is add a new user to the database "pureftpd" in the table "ftpd". This is in a MySQL database. The only situation you'd need to do this, is when you have set your FTP daemon up for virtual users, i.e. the user accessing the FTP does not have access to the server itself through SSH, like it would normally if we create another user on most UNIX systems.
 +
 +
== The Script ==

Revision as of 09:21, 21 September 2009

Programming with Perl with webinterface and database injections

As a final project in Perl, I decided to make a script that could be useful as a linux adminstrator. The script is very situational, however, since it makes use of a specific setup.

What the script does, is add a new user to the database "pureftpd" in the table "ftpd". This is in a MySQL database.

Programming: Perl with Webinterface and Database Injections

Introduction

As a final project in Perl, I decided to make a script that could be useful as a linux adminstrator. The script is very situational, however, since it makes use of a specific setup.

The idea of the script can be changed and used for many situation, especially when you just need to inject simple things into a table. It certainly beats having to do it manually through that cursed client or through other means like phpmyadmin etc.

What the script does, is add a new user to the database "pureftpd" in the table "ftpd". This is in a MySQL database. The only situation you'd need to do this, is when you have set your FTP daemon up for virtual users, i.e. the user accessing the FTP does not have access to the server itself through SSH, like it would normally if we create another user on most UNIX systems.

The Script