14 Aug, 2010
Free mysql injection book
Articles related to free mysql injection book
http://digitalpbk.blogspot.com/2009/06/hacking-sql-injection-tutorial.html
. Warning: The following methods may be illegal, given for illustration purpose only. Most dynamic websites use a database server such as SQL Server from Microsoft,
MySQL, etc. To demonstrate what SQL
injection is, let us see a piece of code that is used as a login script. Most ASP websites use a code like this:user = Request.Form("user")pass = Request.Form("pass")SQL = "SELECT * FROM users WHERE username='" & user & _ "' AND password='" ...
Published 2 years, 10 months ago
http://digitalpbk.com/mysql/select-random-rows-table
Select random rows from a table in
MySQL
In order to select a random row from
MySQL, we can order the rows by a random number and then pick the first row.
SELECT * FROM node ORDER BY rand() limit 1;
The above query randomly selects a row from the table node.
MySQL
Software ...
Published 2 years ago
http://digitalpbk.com/apachesolr/apache-solr-mysql-sample-data-config
Apache Solr
MySQL Sample Data Config
ApacheSolr is an indexing server from apache. It is written in Java and can be used to make search pages on your website. Most Websites use a
MySQL database to store its data and standard
MySQL search using SQL or FULLTEXT Searching by
MySQL. But with ApacheSolr we can not only search but also improve the search results. Solr recognizes plurals and similar words like read, reading or A-DATA, adata etc. Therefore Solr returns more efficient search results ...
Published 2 years, 3 months ago
http://digitalpbk.com/drupal/detect-drupal-form-add-edit-created-formalter
Detect in form_alter if the node submitted is added or edited
When you want to alter a form on Drupal, it is useful to detect if the form being submitted is to add a new node or edit an existing node. To detect if a form is being added or submitted, check the
$form[]['nid']['#value'].
Example :
$form['book']['nid']['#value'].
If the value is "new", the node is being added.
If the value is numeric, the node with nid as the number is being ...
Published 2 years, 5 months ago
http://digitalpbk.com/perl/solve-netmysql-hang-problem-if-database-result-has-only-1-row-or-empty
Resolve Net::MySQL Hang problem if the database result has only 1 row or is empty
Net::MySQL is a simple
MySQL perl Client to connect to
MySQL servers. But Net::MySQL hangs if your result set is having just one row.
Sample Net::MySQL code
#!/usr/bin/perl
use Net::MySQL;
$
mysql = Net::MySQL->new(
hostname => 'localhost',
database => 'db',
user => 'user',
password => 'password',
);
$gid = 1;
$mysql->query('SELECT * FROM table ...
Published 2 years, 1 month ago
http://digitalpbk.com/drupal/how-change-drupal-root-user-password
How to change root admin user password in Drupal ?
In order to reset the root or superadmin password on a drupal system, login into the database by looking at the settings.php. You can use phpMyAdmin or any other
MySQL utilities like SQLYog, or
MySQL command line.
Run the following query to reset the password.
UPDATE users SET pass = MD5('password') WHERE uid = 1
The user id of administrator is always 1.
Password field in drupal is stored as MD5 of the actual string password. So ...
Published 2 years, 1 month ago
http://digitalpbk.com/virus/gumblar-web-virus-manual-removal-free-tool
Gumblar Virus Javascript removal using PERL
Gumblar virus infects all .html and .php files and
injects a piece of javascript in the source code. The code is usually found just below the <body> tag. The Javascript code Gumblar
injects varies widely and usually attaches a script or inline frame inside your page to execute itself on page load. Read on to get rid of this virus.
Gumblar Source Code Samples when delimited by new lines
Sample 1
var D;
if(D!='' ...
Published 2 years, 1 month ago
http://digitalpbk.blogspot.com/2006/12/introduction-to-xss-part-1.html
2 : Javascript
injectionThe next thing you try to do is put javascript into those areas which appear on the site. For example alert("hi");Most probably it wouldn't have work, because either you tried it on some well known site or you have to enter a little more code. Take the following example:The following page has an XSS hole http://www.propmart.com/search/pm_IdSearch.asp?txtPropertyId=somesearchitemBut if you put ...
Published 5 years, 5 months ago
http://digitalpbk.blogspot.com/2006/12/xss-part-2-cookie-stealing-and.html
XSS - Part 2 (Cookie stealing and Defacement)
Please note that this article is for educational purposes only, and is targeted at webmasters who have never seen this scenario. Please donot harm anyone. Disclaimer : I am not responsible for any damages arising due to methods specified in this page. Webmasters please fix it ASAP.In the first part we
injected javascript successfully, and we got an alert. Now let us move to step 2 , defacing and cookie stealing.Cookie Stealing using XSSCookie ...
Published 5 years, 5 months ago
http://digitalpbk.blogspot.com/2007/03/mp3-id3-tag.html
else?). All data in the ID3 Tags are BigEndianBigEndian refers to the storage method in which the MSB is stored first followed by the bits to the LSB. This is opposite to the LittleEndian method in which the LSB is stored first and followed through to the MSBID3 Tag General Structure (ID3V2.4)ID3 Tags can be imagines as a
book, which contains many pages (called frames). Like any
book, ID3 tag has a preface/intro about the tags that follows as a 10 byte header.Header (10 bytes)Extended Header ...
Published 5 years, 2 months ago
Related help topics for free mysql injection book
More keywords like free mysql injection book
More pages for free mysql injection book