Filtering SQL Injection From Classic ASP
Filtering SQL Injection From Classic ASP
Page 1 of 130
Nazim's I I S
Security Blog
All things secur ity ...
Search
Go
Tags
ASP(x)Dynamic IP
RestrictionFTPH T T P IIS5X
I I S6 I I S7 RequestFiltering
injectionUrlScanWebDAVWindow s
Se curit y
Navigation
Home
Get Started
Learn
Downloads
Blogs
Forums
Archives
November 2011 (1)
August 2011 (1)
June 2011 (1)
April 2011 (1)
February 2011 (1)
September 2010 (4)
August 2010 (1)
June 2010 (1)
March 2010 (1)
January 2010 (1)
December 2009 (3)
{/ L
/ ! { t
. [ 9t 5
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official Micr...Page 2 of 130
3 # )
! . ,
31,
$ " , %0
" 31,
31,
31, #
! $/ ! 30
%0 %0
4
!
&# 3&31,
/ % 2 .
$
)
4
# 3&31,
% &
% ) 3# 4
# 3&31,
% &
% )
, #
& % " ,
) ) 3 4
# 3&31,
% &
% )
.
# 3&31,
% &
& % 2 &
) # 3&31, 2 &
4
2
2 2 %0
% )
.
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official Micr...Page 3 of 130
& %
)
2
2 2 %0
% )
.
& % 2 #
) # 3&31, 2 #
4
2
2 2 %0
% )
.
a
a
4 0
! . ,
3 # )
2 7 7 4 0
2 7
9t
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official Micr...Page 4 of 130
L
L
%0
! . ,
4
2 7 %22/ 2 ) )
{ 9
{ a t
3 %
! . ,
&3 %
/ % 2 .
)
4
3 %
% &
% ) 3# 4
3 %
% &
% )
3 # # / #$/ #
7 #&
) 3 5- 3 50
& 3- 40
) 3- 403
) 3- 40!
) 3 5
) 3 0
5
% 7
3 - # / #$/ -
7 -
&
3 # #
&
4
3 4 %
3
% 7
3 - .
3 # .
3 %
% &
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official Micr...Page 5 of 130
I L . { L W
Comments
# re: Filtering SQL injection from Classic ASP
Tuesday, April 29, 2008 8:50 AM by qt11
great script !!
I'm having problems with the :
For Each s in Request.Form
If ( CheckStringForSQL(s) ) Then
if i do a response.write (s) its the name of the fields that are written out, not their values....
therefore its not actually looking at the correct bit...
??
# re: Filtering SQL injection from Classic ASP
Tuesday, April 29, 2008 9:41 AM by qt11
also, please check the code, there's a few errors in there...
"select, ""sys",
anyone know how to get the values for the form information rather than the attribute names ?
# re: Filtering SQL injection from Classic ASP
Wednesday, April 30, 2008 4:27 PM by naziml
you are right ... I am looking at form keys, instead of values ... I will update the script.
Thanks
# re: Filtering SQL injection from Classic ASP
Wednesday, April 30, 2008 4:33 PM by naziml
Ok, I just fixed the form value lookup, and the quotes issue in the blacklist. Thanks for pointing it out.
# re: Filtering SQL injection from Classic ASP
Wednesday, April 30, 2008 9:54 PM by bills
welcome to blogosphere Nazim, it's great to have a security-focused blog for IIS!
# re: Filtering SQL injection from Classic ASP
Friday, May 02, 2008 1:13 PM by mendel
if we take each string and replace any single quotes with two single quotes, is there still a way to do sql injection?
# re: Filtering SQL injection from Classic ASP
Friday, May 02, 2008 7:17 PM by naziml
Disallowing single quotes does the trick for the most part. You have to watch out for encoding though. Also you
might end up disallowing valid scenarios. For example, what if you want to enter the name O'Connor?
# re: Filtering SQL injection from Classic ASP
Saturday, May 03, 2008 6:14 PM by alexhiggins732
I would also update the script to send an email to the webmster, so they can monitor for false positives, and
adjust the code accordingly where necessary
# re: Filtering SQL injection from Classic ASP
Monday, May 05, 2008 12:14 PM by naziml
I added a script sample to send email via a remote SMTP server. HTH.
# re: Filtering SQL injection from Classic ASP
Monday, May 05, 2008 1:09 PM by mendel
O'Connor gets replaced with O''Connor, which SQL server correctly interprets as O'Connor.
could you give us examples of how encoding could get by this check (isn't any url encoding decoded by IIS so I
get the decoded value in my code?)
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official Micr...Page 6 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official Micr...Page 7 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official Micr...Page 8 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official Micr...Page 9 of 130
Once again ... I definitely recommend using parameterized SQL ... see the first comment block in the ASP script.
I even have a link in there on how to use this with ADO in classic ASP. I specifically put this into the script as
coments because a lot of folks will just cut and paste the sample, without bothering to read the post.
# re: Filtering SQL injection from Classic ASP
Wednesday, June 04, 2008 3:04 AM by Quotes missing
There is an important aspect of SQL injection missing:
Your routine does not check for quotes. A single quote (') is the basic principle of SQL injection - it allows to
'escape' from the originally intended SQL statement. Thus, you need to add the quote charater (') and other
possible 'escapes' to your blacklist.
# re: Filtering SQL injection from Classic ASP
Wednesday, June 04, 2008 11:45 AM by Michael
This is VERY helpful. Thank you for this. It is the fastest way to at least prevent someone from deleting all the
data in your database. Yes you should use better measures but if you want to do something RIGHT NOW while
you are recoding to use sql parameters this is better than nothing.
# SQL
NeilCarpenter
...
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 10 of 130
I have converted VB to JS if anyone would need it. Please, take care, because it is not 100% tested! But it works
fine for us:
<%
var BlackList;
BlackList = new Array("--", "/*", "*/", "@@",
"alter ", "begin ", "cast ", "create ", "cursor ",
"declare ", "delete ", "drop ", "exec ",
"execute ", "fetch ", "insert ", "open ",
"select ", "sysobjects", "syscolumns",
"table ", "update ", "<scrip", "</scrip");
ErrorPage = "/ErrorPage.asp";
function CheckStringForSQL(str)
{
//If the string is empty, return true
if(str == undefined)
{
return(false);
}
//check if length is 0
if (str.length == 0)
{
return(false);
}
//Check if the string contains any patterns in our
//black list
var i;
for (i = 0; i < BlackList.length; i++)
{
if (str.toLowerCase().indexOf(BlackList[i]) != -1)
{
return(true);
}
}
return(false);
}
for(e = new Enumerator(Request.Form); !e.atEnd(); e.moveNext())
{
// Response.Write(Request.Form(e.item())+"");
if(CheckStringForSQL(Request.Form(e.item())+""))
{
// Redirect to an error page;
Response.Redirect(ErrorPage);
}
}
for(e = new Enumerator(Request.QueryString); !e.atEnd(); e.moveNext())
{
// Response.Write(Request.QueryString(e.item())+"");
if(CheckStringForSQL(Request.QueryString(e.item())+""))
{
// Redirect to an error page;
Response.Redirect(ErrorPage);
}
}
for(e = new Enumerator(Request.Cookies); !e.atEnd(); e.moveNext())
{
// Response.Write(Request.Cookies(e.item())+"");
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 11 of 130
if(CheckStringForSQL(Request.Form(e.item())+""))
{
// Redirect to an error page;
Response.Redirect(ErrorPage);
}
}
%>
# UrlScan v3.0 Beta Release
Tuesday, June 24, 2008 3:50 PM by Wade Hilmo
The IIS team has some street smarts when it comes to security. We learned quite a few lessons the hard
# Microsoft Security Advisory Alert: SQL Injection Attacks
Wednesday, June 25, 2008 3:17 AM by Jeff Alexander's Weblog
Microsoft is aware of a recent escalation in a class of attacks targeting Web sites that use Microsoft
# short movie downloads » Blog Archive
Wednesday, June 25, 2008 4:34 AM by short movie downloads Blog Archive
Pingback from short movie downloads » Blog Archive
# Security Advisory 954462: nuovi tool per identificare le vulnerabilit che espongono ad attacchi SQL
injection
Wednesday, June 25, 2008 4:50 AM by Security Blog di Feliciano Intini
Due mesi fa vi avevo parlato di nuove ondate di attacchi di tipo SQL Injection , poi un mese fa ho ritenuto
# Microsoft Security Advisory Rise in SQL Injection Attacks
Wednesday, June 25, 2008 10:03 AM by Nathan Mercer's blog
What is the purpose of this alert? This alert is to notify you that Microsoft has released Security Advisory
# New Security Tools for IIS and SQL
Wednesday, June 25, 2008 5:46 PM by Jeff Jones Security Blog
In cast you didn't see it, the Microsoft Security Response Center (MSRC) team just announced the release
# re: Filtering SQL injection from Classic ASP
Wednesday, June 25, 2008 6:32 PM by Anonymous
# re: Filtering SQL injection from Classic ASP
Friday, June 27, 2008 4:33 AM by Anonymous
Mendel asks if there is a way to do SQL injection if all single quotes are escaped and anti suggests filtering out
table names.
One of the current attacks uses T-SQL encoded in hexadecimal to obscure all single quotes and most of the SQL
key words (including all table names). E.g.,
product_id=37;DECLARE%20@S%20VARCHAR(4000);SET%20@S=CAST(some nasty hex encoded T-SQL
here%20AS%20VARCHAR(4000));EXEC(@S);-This worked on pages that expected stuff like product_id=37 in the querystring and build a query without putting
single quotes around product_id. Something like:
"SELECT * FROM products WHERE product_id = " & Replace(product_id, "'", "''")
Escaping the quotes and filtering for table names makes no difference, but (and maybe I'm wrong) rewriting the
query with single quotes around the product_id would stop the attack:
"SELECT * FROM products WHERE product_id = '" & Replace(product_id, "'", "''") & "'"
Surely
SELECT * FROM products WHERE product_id = '37;DECLARE%20@S%20VARCHAR(4000);SET%
20@S=CAST(some nasty hex encoded T-SQL here%20AS%20VARCHAR(4000));EXEC(@S);--'
isn't going to execute the way the attacker intends. Everything between the single quotes is going to be treated
as a string instead of executing, yes?
Maybe the question should be: "Is there a known way to do SQL injection if all single quotes are escaped and all
input values are surrounded by single quotes." If the answer is no, then why bother with filtering, parameterized
queries, etc.? I have seen articles which claim to give examples, but if you actually take the time to substitute the
example SQL into the dynamic query it becomes clear nothing bad would happen. So, someone please show me
a working example before I go recoding everything with parameterized (ugh) queries.
# re: Filtering SQL injection from Classic ASP
Friday, June 27, 2008 4:45 AM by Anonymous
The only problem with the escaping approach is that the hacker can just start his injection with a ' to end your
qoutes. So for example
1 or 1=1'; Do some nastiness here in hex etc....;
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 12 of 130
At the end of the day there are many different ways to inject sql and you need to protect against them all.
# re: Filtering SQL injection from Classic ASP
Friday, June 27, 2008 6:18 AM by Anonymous
Try what you suggested or write it out. It won't do anything. Any ' will get escaped and interpreted as a literal.
SQL will search the DB for a weird string and return no match.
Again, show me a working example.
# re: Filtering SQL injection from Classic ASP
Friday, June 27, 2008 6:22 AM by Anonymous
I have no objection to filtering or other technique--even if there is no way to do SQL injection when everything is
escaped and between single quotes, doesn't mean some coder won't slip up.
# re: Filtering SQL injection from Classic ASP
Monday, June 30, 2008 9:42 AM by Anonymous
Hi I am Anshuk. My web site has been attacked in a similar way.
ID=308;DECLARE%20@S%20VARCHAR(4000);SET%20@S=CAST
(0x4445434C415245204054205641524348415228323535292C404320564152434841522832353529204445434C415245205461626C655F437572736F7220
20AS%20VARCHAR(4000));EXEC(@S);-I have used the following code to fix it.
when ever i use a value from querystring like request("productID") i encase it in
dbsafe2(request("productID"),"Numeric")
or if it is a string then
dbsafe2(request("productName"),"string")
function dbsafe2(data,dtype)
if (instr(data,"update")) or (instr(data,"delete")) or (instr(data,"select")) or (instr(data,"group by")) or (instr
(data,"having")) or (instr(data,"<script")) or (instr(data,"CAST")) then
Set myMail=CreateObject("CDO.Message")
myMail.Subject="DBSAFE2 Someone is trying to *** us, But he couldnt...he he"
myMail.From="[email protected]"
myMail.To="[email protected]"
myMail.HTMLBody = "<b>Someone is trying to *** our database. <BR><BR>Hacker's Details: <BR><BR>IP
Address:</b> <a href=whois.domaintools.com/"&Request.ServerVariables("REMOTE_ADDR")
&">"&Request.ServerVariables("REMOTE_ADDR")&"</a><BR><B>Target Page:</b> http://tulleeho.com"&
Request.ServerVariables("SCRIPT_NAME") &"<BR><b>Browser/OS Info:</b> "& Request.ServerVariables
("HTTP_USER_AGENT") &"<BR><b>Logon User:</b> "& request.ServerVariables("LOGON_USER")
&"<BR><b>Request Method: </b>"& request.ServerVariables("REQUEST_METHOD") &"<BR><B>Post
Data:</b> "& data &"<BR><B>Querystring:</b> "&request.ServerVariables("QUERY_STRING")
&"<BR><B>Cookies:</b> "&request.ServerVariables("HTTP_COOKIE") &"<BR><a
href=""www.tulleeho.com/testdbsafe.asp("QUERY_STRING") &""">Test DBSAFE</a><BR><b>Server
Date/Time: </b>" & now()
myMail.Send
set myMail=nothing
end if
if lcase(dtype) = "numeric" then
if Not IsNumeric(data) then data=0
else
data = replace(data,"'","''")
End if
dbsafe2 = data
end function
contact: anshukk @ gmail . com
# re: Filtering SQL injection from Classic ASP
Tuesday, July 01, 2008 3:50 PM by Anonymous
Nazm abi sql injecition ile bam dertte ltfen sitemde kullanabileceim anti-sql injection kodlarn
[email protected] adresine yollarmsnz?
# re: Filtering SQL injection from Classic ASP
Thursday, July 03, 2008 9:05 AM by Anonymous
# re: Filtering SQL injection from Classic ASP
Saturday, July 05, 2008 7:29 PM by Anonymous
naziml, may 22, in an answer to anonymous, you say
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 13 of 130
"Anonymous: I have not tested querystrings with form actions. I would assume that this would trigger a new
request where Request.QueryString is appropriately populated. Let me test this out, and if this is not the case, I
will update the script. Thanks."
Have you checked into this <important> difference?
What is the result...?
# re: Filtering SQL injection from Classic ASP
Monday, July 07, 2008 3:27 PM by Anonymous
Anonymous' June 30, 2008 post is nice because it combines the blacklist with a datatype check. You might also
consider a value length check. Limiting the number of characters can really make it tougher on the attacker. What
can they really do with say 20 characters to play with?
Something like...
function dbsafe2(data, dtype, maxlength)
# re: Filtering SQL injection from Classic ASP
Tuesday, July 08, 2008 12:23 AM by Anonymous
Kick-ass resource: ha.ckers.org/sqlinjection
# re: Filtering SQL injection from Classic ASP
Tuesday, July 08, 2008 12:48 AM by Anonymous
So here's what I came up with after a bit of tinkering. I stuck this in my data access layer's base class, which is
inherited by all my data access objects. I mostly use it for my complicated searches, for which I still can't seem to
get away from dynamic SQL.
The blacklist might be a bit too extensive to real use. Edit as you need.
/// <summary>Validate and filter each value supplied by the user for use in the whereClause.</summary>
/// <param name="userValue">The value to validate</param>
/// <param name="maxLength">The most characters permitted</param>
/// <returns>The value after validation and filtering</returns>
/// <remarks>This method is provided to help guard against SQL injection attacks. It escapes single quotes with
two single quotes and removes the comment markings.</remarks>
protected static String CleanValue(String userValue, Int32 maxLength)
{
// Throw an exception if a blacklisted word is detected.
String[] blackList = {
"alter",
"begin",
"cast",
"create",
"cursor",
"declare",
"delete",
"drop",
"exec",
"execute",
"fetch",
"insert",
"kill",
"open",
"select",
"sys",
"sysobjects",
"syscolumns",
"table",
"update",
"<script",
"</script"
};
for (int i = 0; i < blackList.Length; i++)
if (userValue.ToLower().Contains(blackList[i]))
throw new ArgumentException();
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 14 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 15 of 130
# New Security Tools for IIS and SQL | IT & Network Security Blog
Saturday, July 12, 2008 1:41 PM by New Security Tools for IIS and SQL | IT & Network Security Blog
Pingback from New Security Tools for IIS and SQL | IT & Network Security Blog
# re: Filtering SQL injection from Classic ASP
Sunday, July 13, 2008 3:39 AM by Anonymous
Naz, thanks for this article, it was a great help as a starting point to get some ideas....well written and good
comments (for the most part) as well.
# New Security Tools for IIS and SQL | IT & Network Security Blog
Sunday, July 13, 2008 4:52 AM by New Security Tools for IIS and SQL | IT & Network Security Blog
Pingback from New Security Tools for IIS and SQL | IT & Network Security Blog
# re: Filtering SQL injection from Classic ASP
Tuesday, July 15, 2008 9:18 PM by Anonymous
Nazim,
just a quick note to say thanks for this. We have had it in operation for over a month and it is working to protect
our site, whilst we get the developers to implement a more appropriate way of dealing with sql. Our only mod was
to tweak the blacklist a little.
To give people an idea in the last 2 weeks we have received 2400 sql injection attempts, all fialed, and only have
one very wierd error (but it is a Mac ;-)) when no string at all is attached to the URL, will post if I ever solve it.
One small note to those getting the "variable undefined: 's'" problem just add s to the Dim statement at the top of
the code e.g;
Dim BlackList, ErrorPage, s
Thanks again, we are very grateful.
G:-)
# SQL Injection attacks on the rise - myhosting.com Blog
Friday, July 18, 2008 2:29 PM by SQL Injection attacks on the rise - myhosting.com Blog
Pingback from SQL Injection attacks on the rise - myhosting.com Blog
# re: Filtering SQL injection from Classic ASP
Monday, July 21, 2008 10:35 AM by Anonymous
# re: Filtering SQL injection from Classic ASP
Thursday, July 31, 2008 6:33 PM by Anonymous
Thanks a lot this is the best validation code I saw.
# re: Filtering SQL injection from Classic ASP
Monday, August 11, 2008 3:24 AM by Anonymous
Nazim, thanks very much for the code. I do have a question thought. I find that email addresses from
"comcast.net" are also seen ans possible SQL injection, as the word "cast" is in the address.
Is there a way to have "comacast" set as an exception within the code?
Thanks
Hans
# VKKK.NET » Blog Archive » Prevent SQL Injection in Legacy ASP Applications
Sunday, August 17, 2008 11:41 PM by VKKK.NET Blog Archive Prevent SQL Injection in Legacy ASP
Applications
Pingback from VKKK.NET » Blog Archive » Prevent SQL Injection in Legacy ASP Applications
# re: Filtering SQL injection from Classic ASP
Saturday, August 30, 2008 1:18 PM by Anonymous
thank you very cool working very nice se http://www.sohbetozel.org
# re: Filtering SQL injection from Classic ASP
Tuesday, September 02, 2008 2:53 AM by bholyfield
URLScan is a great defense mechanism for web server attacks, but I have found that it is not flexible enough to
defend against web application-level attacks like SQL Injection. The group I work with just released a free
module for IIS (called SPF) that provides a flexible mechanism for blocking malicious requests. SPF can be
downloaded from our website: www.gdssecurity.com/.../t.php
It provides coverage options for Query Strings, POST data and Cookies (where as URL Scan is limited to just
Query Strings). It also supports use of regular expressions to define malicious input sequences, allowing more
complex patterns to reduce the likelihood of false positives. You can find out more about it from the following
Blog post: www.gdssecurity.com/.../iis-secure-parameter-filter-spf-released
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 16 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 17 of 130
thanks.
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 9:34 AM by mirc
thank you site admini.
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 9:56 AM by chat
thx.
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 10:01 AM by mirc
thanks.
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 12:47 PM by sohbet
thanks. veryi maucks...
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 12:48 PM by sohbet
thanks. <a href="www.sevgisohbet.com/" title="sohbet, chat">sohbet</a> www.sevgisohbet.com
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 1:39 PM by sohbet odas
thanks you..
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 4:30 PM by emlak
thank you sites admin
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 5:54 PM by mirc
thanks karantina
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 5:54 PM by mirc
thanks
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 6:20 PM by arkadas
THANKS
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 11:17 PM by Sohbet
thanks
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 11:18 PM by Sohbet
thanks
# re: Filtering SQL injection from Classic ASP
Friday, September 19, 2008 11:20 PM by Sohbet
thanks
# re: Filtering SQL injection from Classic ASP
Saturday, September 20, 2008 3:33 AM by mirc
thanks.
# re: Filtering SQL injection from Classic ASP
Saturday, September 20, 2008 3:34 AM by mirc
thanks.
# re: Filtering SQL injection from Classic ASP
Saturday, September 20, 2008 5:26 AM by mirc
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 18 of 130
thanks.
# re: Filtering SQL injection from Classic ASP
Saturday, September 20, 2008 5:26 AM by mrc
thanks.
# re: Filtering SQL injection from Classic ASP
Saturday, September 20, 2008 2:06 PM by muhabbet
Thank you very much
# re: Filtering SQL injection from Classic ASP
Saturday, September 20, 2008 2:07 PM by muhabbet
Thank you very much
# re: Filtering SQL injection from Classic ASP
Saturday, September 20, 2008 11:26 PM by Sohbet
thank you very much
# re: Filtering SQL injection from Classic ASP
Sunday, September 21, 2008 6:17 AM by sohbet
Thank you very much
# re: Filtering SQL injection from Classic ASP
Sunday, September 21, 2008 8:28 AM by SOHBET
thanks you...
<a href="http://www.gonulleringulu.com" title="islami sohbet, sohbet , sohbet chat, dini sohbet"
target="_blank">SOHBET</a>
<a href="http://www.sipsevdim.com" title="sohbet, cet sohbet , liseli kizlar, sohbet siteleri "
target="_blank">MUHABBET</a>
# re: Filtering SQL injection from Classic ASP
Sunday, September 21, 2008 9:00 AM by manavgat
thanks for the post!
# re: Filtering SQL injection from Classic ASP
Sunday, September 21, 2008 1:01 PM by chat
thanks for the post...admin.
# re: Filtering SQL injection from Classic ASP
Monday, September 22, 2008 3:13 AM by [email protected]
thanks
# re: Filtering SQL injection from Classic ASP
Monday, September 22, 2008 3:15 AM by sohbet
thanks
# re: Filtering SQL injection from Classic ASP
Monday, September 22, 2008 3:16 AM by sohbet
http://www.coktatli.net thanks
# re: Filtering SQL injection from Classic ASP
Monday, September 22, 2008 5:26 AM by sohbetodas
http://www.canlarselichat.com
thanks
# re: Filtering SQL injection from Classic ASP
Monday, September 22, 2008 7:41 AM by video
thanks
http://video.sohbetozel.org
# re: Filtering SQL injection from Classic ASP
Monday, September 22, 2008 7:49 AM by sohbet
thank you
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 19 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 20 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 21 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 22 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 23 of 130
thanks a lot
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 11:15 AM by msn indir
good works ..
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 11:16 AM by msn indir
Good works..
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:01 PM by chat
thanks..
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:09 PM by chat
thanks
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:09 PM by chat
Thank you very much
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:36 PM by kanser tedavileri
thank you
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:37 PM by iir
thank you
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:39 PM by iir
verry good
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:40 PM by okey indir
verry good
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:40 PM by okey indir
verry good
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:48 PM by sohbet
thanks.. admin
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 3:50 PM by sohbet
thanks.. admin
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 6:02 PM by arkadas
thanks you wery much
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 6:04 PM by mirc
thanks very good.
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 6:04 PM by mirc
thank you wery much
# re: Filtering SQL injection from Classic ASP
Monday, September 29, 2008 6:05 PM by mirc
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 24 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 25 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 26 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 27 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 28 of 130
ThanKs you
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 12:24 PM by sohbet
Thank you my brother
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 12:27 PM by ahmed
Thank you my brother
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 12:40 PM by sohbet
thanks you
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 12:41 PM by chat
thank you site admin
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 12:42 PM by mirc
thanks very good
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 12:43 PM by mirc indir
thanks.....
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 12:43 PM by film indir
thank you admin
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 12:45 PM by divx film indir
thanks
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 1:46 PM by muhabbet
sohbet kanal bedava sohbet odalar kzlarla sohbet kelebek sohbet alem sohbet gurbet
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 1:47 PM by muhabbet
sohbet kanal bedava sohbet odalar kzlarla sohbet kelebek sohbet alem sohbet gurbet
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 2:41 PM by chat
tankss
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 2:55 PM by Medikal
SYNTAX ERROR ? HELP ME!!!
<FORM VERB=POST METHOD="POST">
Test page for checking input with possible SQL injection.<br><br>
Email: <INPUT NAME=Email></INPUT><BR>
Message: <INPUT NAME=Message></INPUT><BR>
Sent: <% = SendEmail(Request("Email"),Request("Message")) %><BR>
<BUTTON TYPE=SUBMIT>Submit</BUTTON>
</FORM>
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 4:50 PM by chat sohbet
Wonderful Stuff you post!! I LOVE it!
# re: Filtering SQL injection from Classic ASP
Tuesday, October 07, 2008 4:57 PM by kral oyun
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 29 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 30 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 31 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 32 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 33 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 34 of 130
thanks
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 10:07 AM by chat
tannkss
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 10:07 AM by chat
tabb
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 11:49 AM by muhabbetgulu
tannkss
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 11:51 AM by muhabbetgulu
tabb
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 1:35 PM by islami sohbet
I was always having errors in;
myMail.HTMLBody = "<b>Someone is trying to *** our database. <BR><BR>Hacker's Details: <BR><BR>IP
Address:</b> <a href=whois.domaintools.com/"&Request.ServerVariables("REMOTE_ADDR")
&">"&Request.ServerVariables("REMOTE_ADDR")&"</a><BR><B>Target Page:</b> http://tulleeho.com"&
Request.ServerVariables("SCRIPT_NAME") &"<BR><b>Browser/OS Info:</b> "& Request.ServerVariables
("HTTP_USER_AGENT") &"<BR><b>Logon User:</b> "& request.ServerVariables("LOGON_USER")
&"<BR><b>Request Method: </b>"& request.ServerVariables("REQUEST_METHOD") &"<BR><B>Post
Data:</b> "& data &"<BR><B>Querystring:</b> "&request.ServerVariables("QUERY_STRING")
&"<BR><B>Cookies:</b> "&request.ServerVariables("HTTP_COOKIE") &"<BR><a
href=""www.tulleeho.com/testdbsafe.asp("QUERY_STRING") &""">Test DBSAFE</a><BR><b>Server
Date/Time: </b>" & now()
Thanks.
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 5:15 PM by et
thank
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 8:29 PM by Sohbet
thanx
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 10:28 PM by sohbet
thanks.
# re: Filtering SQL injection from Classic ASP
Monday, October 13, 2008 10:28 PM by key demeleri
thanks.
# re: Filtering SQL injection from Classic ASP
Tuesday, October 14, 2008 6:48 AM by islami sohbet
I'm not sure with this.
ID=308;DECLARE%20@S%20VARCHAR(4000);SET%20@S=CAST
(0x4445434C415245204054205641524348415228323535292C404320564152434841522832353529204445434C415245205461626C655F437572736F7220
20AS%20VARCHAR(4000));EXEC(@S);-# re: Filtering SQL injection from Classic ASP
Tuesday, October 14, 2008 10:24 AM by [email protected]
thanks
# re: Filtering SQL injection from Classic ASP
Tuesday, October 14, 2008 6:07 PM by [email protected]
thanks
# re: Filtering SQL injection from Classic ASP
Tuesday, October 14, 2008 7:19 PM by nakliyat
thanks alot
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 35 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 36 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 37 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 38 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 39 of 130
thanks a lot
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 3:25 PM by et
thanks you good
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 3:26 PM by et
thanks you
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 3:57 PM by siki
Thank You Mery much.. I is Site..
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 3:57 PM by siki
Thank You Mery much.. I is Site..
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 5:22 PM by sohbet odalari
thanjs :)Thank You Mery much.. I is Site..
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 9:19 PM by son dakika haber
thanks
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 10:18 PM by kelebek
Thank You Mery much.. I is Site..
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 10:18 PM by kelebek
Thank You Mery much.. I is Site..
# re: Filtering SQL injection from Classic ASP
Sunday, October 19, 2008 10:19 PM by kelebek Script
Thank You Mery much.. I is Site..
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 3:13 AM by kameral chat
thank you
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 5:01 AM by cakir
thanks you
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 7:30 AM by kelebek cet
thanks you amk admin much
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 7:31 AM by kelebek cet
tesekkur ederim
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 7:31 AM by mirc
eyw admin much : )
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 7:37 AM by izmir sohbet
tamadir
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 7:42 AM by mirc
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 40 of 130
mirc
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 7:55 AM by SOHBET
thankss
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 8:16 AM by kelebek cet
thanks you much admin
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 8:17 AM by script mirc
thanks
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 8:19 AM by izmir sohbet
thankss
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 9:11 AM by sohbet
Thanks
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 12:30 PM by bakliyat
www.mistasgirisim.com.tr
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 12:41 PM by sevgilim
sper web sites
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 1:03 PM by sohbet chat
thank you very cool working very nice se
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 1:04 PM by sohbet chat
thank you
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 3:09 PM by Trke mirc
thanks..
# re: Filtering SQL injection from Classic ASP
Monday, October 20, 2008 5:01 PM by chat
thanks
# re: Filtering SQL injection from Classic ASP
Tuesday, October 21, 2008 2:02 AM by dizi izle
thanks you
# re: Filtering SQL injection from Classic ASP
Tuesday, October 21, 2008 2:02 AM by dizi izle
thanks
# Tools that can help to secure SQL server security within web environment
Tuesday, October 21, 2008 3:57 AM by SQL Server Security, Performance & Tuning (SSQA.net)
When the SQL Server is faced to the internet then you have to take utmost care to ensure that the each
# re: Filtering SQL injection from Classic ASP
Tuesday, October 21, 2008 12:48 PM by chat
thank you site admin
# re: Filtering SQL injection from Classic ASP
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 41 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 42 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 43 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 44 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 45 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 46 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 47 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 48 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 49 of 130
thanks
# re: Filtering SQL injection from Classic ASP
Sunday, November 02, 2008 3:18 PM by oyun
Thanks so much.
# re: Filtering SQL injection from Classic ASP
Sunday, November 02, 2008 6:01 PM by sohbet
Thanks a lot
# re: Filtering SQL injection from Classic ASP
Sunday, November 02, 2008 6:02 PM by sohbet
thanks a lot
# re: Filtering SQL injection from Classic ASP
Sunday, November 02, 2008 10:08 PM by chat
thanks lol
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 1:10 AM by hikaye
thanks
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 4:49 AM by evden eve nakliyat
thanksss
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 4:50 AM by evden eve nakliyat
gthankssss
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 12:37 PM by etoplum
I suspect blogging world is becoming so small that we cant find such lucrative blogs like this one.
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 12:38 PM by etoplum
Thanks you
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 4:48 PM by radyo dinle
thanks
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 6:31 PM by Samsun
Thanks yuo
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 6:31 PM by Samsun
Thanks you.
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 6:32 PM by Samsun
Danke
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 6:33 PM by Samsun
thanks Kerim
# re: Filtering SQL injection from Classic ASP
Monday, November 03, 2008 9:15 PM by son dakika haber
thanks
# re: Filtering SQL injection from Classic ASP
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 50 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 51 of 130
This is a really good resource and all in one guide!!! Helps you pick out the nasties on labels quickly too
By RoMeO
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:32 PM by Sohbet
Wow Nice to hear this good new. I would to try it on my website.
Free Site Listing
By mIRC
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:33 PM by SOHBET
Thank'S
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:34 PM by SOHBET
SaoL site admini oq yaa emi :) http://www.coktatli.net
By RoMeO
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:35 PM by SOHBET
Fine Thank's u :) By RaLp_LauReN
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:36 PM by SOHBET
I'm Like site :) Thanks Admin http://www.coktatli.net
By mIRC
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:37 PM by sohbet
http://www.coktatli.net
saoL site admini
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:38 PM by SoHBeT
ThnakS site admin http://www.coktatli.net
By RoMeO
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:39 PM by SOHbeT
Thanks canm :) http://www.coktatli.net
By mIRC
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 1:40 PM by sohBET
saoL cicim :) http://www.coktatli.net
By RaLp_LaureN
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 2:24 PM by sohbet
Thank's u Site admin :) I suspect blogging world is becoming so small that we cant find such lucrative blogs like
this one.
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 2:25 PM by gzel szler
This is a really good resource and all in one guide!!! Helps you pick out the nasties on labels quickly too
x
# re: Filtering SQL injection from Classic ASP
Tuesday, November 04, 2008 2:41 PM by darwin
I second what Mendel wrote:
Suggestion to microsoft for blocking sql injection attacks
one of the significant differences between sql and msacces (jet) is that sql allows multiple commands in a single
sql statement.
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 52 of 130
while that ability is very good, it's rarely if ever needed in a website.
I would like to suggest that microsoft release a patch to sql server that would add a specific permission on a user
to allow or deny the ability to run multi-command statments.
if that option was there, I think that 99% of websites could be protected just by blocking that ability
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 5:52 AM by tahsin
Sohbet
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 6:26 AM by sohbet
Thanks.. Admins
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 6:26 AM by sohbet
Thanks..
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 7:26 AM by sohbet
Thanks.. admin
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 7:49 AM by chat sohbet odalar
thanks site admin.
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 9:08 AM by SICAK
thanks admin
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 11:04 AM by mirc
thanks..
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 11:34 AM by mirc
thank you
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 11:35 AM by mirc
thank you site admini..
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 11:36 AM by mirc
Thanks for sharing your feedback! If your feedback doesn't appear right away, please be patient as it may take a
few minutes to publish - or longer if the blogger is moderating comments.
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 11:58 AM by film izle
sharing for thanks.. i wish the successfrom now on writing
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 1:57 PM by sohbet
thanks site admin.
# re: Filtering SQL injection from Classic ASP
Wednesday, November 05, 2008 1:57 PM by mirc
tamam abi :)
# re: Filtering SQL injection from Classic ASP
Thursday, November 06, 2008 3:16 AM by SOHBET
thask you admns...
# re: Filtering SQL injection from Classic ASP
Thursday, November 06, 2008 3:17 AM by SOHBET
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 53 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 54 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 55 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 56 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 57 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 58 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 59 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 60 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 61 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 62 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 63 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 64 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 65 of 130
thanks
# re: Filtering SQL injection from Classic ASP
Wednesday, December 03, 2008 1:52 PM by servet duman
thanks
# re: Filtering SQL injection from Classic ASP
Wednesday, December 03, 2008 6:22 PM by Gogus Estetigi
Finally something positive from the ano maSSistas, thank you ano Franco, I will change the word fighter as soon
as I can. Dont get confuse, it means I fight for democracy in my country, off course you already new this.
# re: Filtering SQL injection from Classic ASP
Wednesday, December 03, 2008 7:24 PM by rya
Fantastic games. I liked them. Thank you very much
www.fulsohbet.net
# re: Filtering SQL injection from Classic ASP
Wednesday, December 03, 2008 8:37 PM by Cam Balkon
Sorry ... I somehow edited only the first one and missed the next two.
# re: Filtering SQL injection from Classic ASP
Thursday, December 04, 2008 3:57 AM by SOHBET
thanks you wery much admns WELCOME
# re: Filtering SQL injection from Classic ASP
Thursday, December 04, 2008 1:44 PM by SOHBET
thanks you wery much admns WELCOME...
# re: Filtering SQL injection from Classic ASP
Thursday, December 04, 2008 2:44 PM by Mirc indir
thankss
# re: Filtering SQL injection from Classic ASP
Friday, December 05, 2008 3:36 AM by SOHBET
thanks you wery much admns WELCOME...
# re: Filtering SQL injection from Classic ASP
Friday, December 05, 2008 3:36 AM by SOHBET
thanks you wery much admns WELCOME...
# re: Filtering SQL injection from Classic ASP
Friday, December 05, 2008 6:02 AM by ftkcambalkon
thank you it is very well
# re: Filtering SQL injection from Classic ASP
Monday, December 08, 2008 2:18 AM by sohbet odalar
<a href="http://www.videodukkani.net" title="lig tv, bedava lig tv izle, ligtv seyret" target="_blank">bedava lig
tv</a>
thanks
# re: Filtering SQL injection from Classic ASP
Monday, December 08, 2008 2:19 AM by youtube izle
thoyk
# re: Filtering SQL injection from Classic ASP
Monday, December 08, 2008 4:28 PM by sohbet
Thanks a lot
# re: Filtering SQL injection from Classic ASP
Monday, December 08, 2008 4:29 PM by sohbet
Thanks a lot..
# re: Filtering SQL injection from Classic ASP
Tuesday, December 09, 2008 5:46 PM by muhabbet
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 66 of 130
thank
# re: Filtering SQL injection from Classic ASP
Tuesday, December 09, 2008 5:47 PM by muhabbet
sddsdsffgh
# re: Filtering SQL injection from Classic ASP
Wednesday, December 10, 2008 9:36 AM by Sohbet
thanks youu
# re: Filtering SQL injection from Classic ASP
Wednesday, December 10, 2008 9:38 AM by Chat
thankssss
# re: Filtering SQL injection from Classic ASP
Wednesday, December 10, 2008 9:39 AM by Sohbet Odalar
thanks youu .
# re: Filtering SQL injection from Classic ASP
Wednesday, December 10, 2008 9:39 AM by Mirc
thankls
# re: Filtering SQL injection from Classic ASP
Wednesday, December 10, 2008 9:40 AM by Mrc
thkks
# re: Filtering SQL injection from Classic ASP
Wednesday, December 10, 2008 5:25 PM by kelebek sohbet
thanks you
# re: Filtering SQL injection from Classic ASP
Wednesday, December 10, 2008 6:37 PM by ruya
thanks you much admin
# re: Filtering SQL injection from Classic ASP
Wednesday, December 10, 2008 8:52 PM by sohbet kanallar
thanks for everything...
# re: Filtering SQL injection from Classic ASP
Thursday, December 11, 2008 7:05 AM by taxi kilic
it s very good working thanks
# re: Filtering SQL injection from Classic ASP
Thursday, December 11, 2008 7:07 AM by taxi kilic
o la mi amor thanks alot
# re: Filtering SQL injection from Classic ASP
Thursday, December 11, 2008 9:13 AM by servet duman
thanks
# re: Filtering SQL injection from Classic ASP
Thursday, December 11, 2008 1:10 PM by Cinsel Sohbet
thanksss
# re: Filtering SQL injection from Classic ASP
Thursday, December 11, 2008 1:47 PM by [email protected]
Thanks you!
# re: Filtering SQL injection from Classic ASP
Thursday, December 11, 2008 8:18 PM by ekscam
cam balkon,balkony,glazng,katlanr cam,teras camlama,cafe camlama,k bahcesi,vitrin cam,cam kap,istanbul
cam balkon,cam balkon istanbul,balkon cam
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 67 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 68 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 69 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 70 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 71 of 130
sohbet39
# re: Filtering SQL injection from Classic ASP
Friday, December 19, 2008 9:19 AM by sohbet odalar
sohbet
# re: Filtering SQL injection from Classic ASP
Friday, December 19, 2008 11:02 AM by hekimboard
thanks a lot.
# re: Filtering SQL injection from Classic ASP
Friday, December 19, 2008 1:47 PM by sohbet
thanks <a href="http://www.trtsar.net" title="chat, sohbet chat">sohbet odalari</a>
# re: Filtering SQL injection from Classic ASP
Friday, December 19, 2008 1:50 PM by chat
thnakss
# re: Filtering SQL injection from Classic ASP
Friday, December 19, 2008 1:51 PM by chat
tk..
# re: Filtering SQL injection from Classic ASP
Friday, December 19, 2008 1:51 PM by sohbet odalari
tkanss
# re: Filtering SQL injection from Classic ASP
Friday, December 19, 2008 6:44 PM by alcak
thanks yourss...
# re: Filtering SQL injection from Classic ASP
Friday, December 19, 2008 7:01 PM by tv izle
thanks yourss
# How IIS can help with SQL Injection
Saturday, December 20, 2008 12:48 AM by Wade Hilmo
2008 has been a busy year for attackers exploiting SQL Injection vulnerabilities in web applications
# re: Filtering SQL injection from Classic ASP
Saturday, December 20, 2008 9:06 AM by dizi izle
thanks
<a href="http://www.dizifrm.com" title="diziizle, dizi" target="_blank">dizi izle</a><a
href="http://www.diziizle.gen.tr" title="diziizle, dizi" target="_blank">dizi izle</a>
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 8:23 AM by superalem
thanks you.
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 8:24 AM by superalem
thnaks :)
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 9:13 AM by sohbet
thnakx lol
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 9:14 AM by sohbet
http://www.yazilisohbet.net
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 11:31 AM by mirc
Thanks
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 72 of 130
<a href="http://www.mirc.in" title="trke mir, mirc ykle, mrc sohbet, mirc script, sohbet script, mir, mrc, mr,
mirc indir">mirc</a>
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 12:06 PM by sohbet
sohbet thanx
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 12:06 PM by sohbet
thanx
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 12:27 PM by chat
Thanks..
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 6:51 PM by ssk sorgulama
see you later
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 7:04 PM by sohbet odalar
thanks you..
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 8:32 PM by kelebek script
thanks you .
# re: Filtering SQL injection from Classic ASP
Sunday, December 21, 2008 9:06 PM by Orjinal Lida
thank you lida
# Filtering for SQL Injection on IIS 6 and earlier
Monday, December 22, 2008 5:50 AM by iis
This article is specific to IIS 6 and earlier. If you are using IIS 7.0 or later, please see this article
# re: Filtering SQL injection from Classic ASP
Monday, December 22, 2008 5:54 AM by son dakika haber
thanks
# re: Filtering SQL injection from Classic ASP
Monday, December 22, 2008 7:12 AM by cam balkon
see you later
# re: Filtering SQL injection from Classic ASP
Monday, December 22, 2008 7:12 AM by cam balkon
see you later
thankss.. youu alte
# re: Filtering SQL injection from Classic ASP
Monday, December 22, 2008 8:40 AM by ssk sorgulama
see you later tanx admin
# re: Filtering SQL injection from Classic ASP
Monday, December 22, 2008 11:03 AM by Chat
http://www.sohbetli.com
# re: Filtering SQL injection from Classic ASP
Monday, December 22, 2008 11:49 AM by sohbet odalar
thanks
# re: Filtering SQL injection from Classic ASP
Monday, December 22, 2008 7:01 PM by Orjinal Lida
thank you orjinal lida
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 73 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 74 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 75 of 130
thank you...
# re: Filtering SQL injection from Classic ASP
Friday, December 26, 2008 9:30 AM by Rap
thanks a lot...
# re: Filtering SQL injection from Classic ASP
Friday, December 26, 2008 11:52 AM by muhabbet
thanks
# re: Filtering SQL injection from Classic ASP
Friday, December 26, 2008 11:52 AM by muhabbet
thanks
# re: Filtering SQL injection from Classic ASP
Friday, December 26, 2008 11:53 AM by muhabbet
thanks a lot
# re: Filtering SQL injection from Classic ASP
Friday, December 26, 2008 11:55 AM by web tasarm
thanks.
# re: Filtering SQL injection from Classic ASP
Friday, December 26, 2008 11:59 AM by web tasarm
thanks
# re: Filtering SQL injection from Classic ASP
Friday, December 26, 2008 12:02 PM by web tasarm
thanks for you.
# re: Filtering SQL injection from Classic ASP
Friday, December 26, 2008 2:43 PM by et
thanks
# re: Filtering SQL injection from Classic ASP
Saturday, December 27, 2008 3:24 AM by komedi
Thanks canm
# re: Filtering SQL injection from Classic ASP
Saturday, December 27, 2008 9:47 AM by et
Took notice of this thing and really excited about the outcomes.
# re: Filtering SQL injection from Classic ASP
Saturday, December 27, 2008 12:13 PM by SOHBET
thanks you wery much admns WELCOME....
caglar
# re: Filtering SQL injection from Classic ASP
Saturday, December 27, 2008 12:35 PM by chat
thanks you admin
# re: Filtering SQL injection from Classic ASP
Saturday, December 27, 2008 12:35 PM by chat
thanks you admin
# re: Filtering SQL injection from Classic ASP
Saturday, December 27, 2008 12:36 PM by chat
thanks you admin
# re: Filtering SQL injection from Classic ASP
Saturday, December 27, 2008 12:36 PM by chat
saol a..q
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 76 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 77 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 78 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 79 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 80 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 81 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 82 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 83 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 84 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 85 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 86 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 87 of 130
thanks
# re: Filtering SQL injection from Classic ASP
Sunday, January 11, 2009 9:56 PM by sohbet odalar
thank you
# re: Filtering SQL injection from Classic ASP
Sunday, January 11, 2009 9:56 PM by sohbet odalar
thanks you sites
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 4:27 AM by oto kiralama
thanks you sites
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 4:56 AM by mirc
mirc, mrc
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 5:40 AM by chat
This is an impressive list, I cannot believe there are sites here I have never heard of. Some of them have some of
the best resources I have seen in a while.
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 5:41 AM by chat
thanks you four
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 6:49 AM by isil islem
veryy good.
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 8:31 AM by dizi izle
thanks
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 8:32 AM by dizi izle
great website thanks
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 3:25 PM by chat
thx. man kissed you.
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 4:00 PM by ssk
<a href="http://www.ayrilmaz.net" title="ssk sorgulama" target="_blank">ssk</a>
tanx see you later
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 5:55 PM by chat
Sesli Chat Sohbet <a target="_blank" href="www.cfhaber.com/.../a>
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 8:45 PM by ahmed arif
thanks admin
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 10:40 PM by Sohpet
thanks admin
# re: Filtering SQL injection from Classic ASP
Monday, January 12, 2009 10:44 PM by Sohpet
thank you . . .
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 88 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 89 of 130
This is the code that does the main filtering. Copy the code below into an ASP file and modify according to your
needs. The main things you need to add/modify for your needs are the BlackList array and the ErrorPage you
want to forward to. Deploy this file in a location that will be accessible to all your web applications. Make sure that
the path to your error page is correct. Use a full path here if possible, since this code will get included into
several applications that may all reside in different physical directories.
<%
' SqlCheckInclude.asp
'
' Author: Nazim Lala
'
' This is the include file to use with your asp pages to
' validate input for SQL injection.
Dim BlackList, ErrorPage, s
'
' Below is a black list that will block certain SQL commands and
' sequences used in SQL injection will help with input sanitization
'
' However this is may not suffice, because:
' 1) These might not cover all the cases (like encoded characters)
' 2) This may disallow legitimate input
'
' Creating a raw sql query strings by concatenating user input is
' unsafe programming practice. It is advised that you use parameterized
' SQL instead. Check support.microsoft.com/.../q164485 for information
' on how to do this using ADO from ASP.
'
' Moreover, you need to also implement a white list for your parameters.
' For example, if you are expecting input for a zipcode you should create
' a validation rule that will only allow 5 characters in [0-9].
'
BlackList = Array("--", ";", "/*", "*/", "@@", "@",_
"char", "nchar", "varchar", "nvarchar",_
"alter", "begin", "cast", "create", "cursor",_
"declare", "delete", "drop", "end", "exec",_
"execute", "fetch", "insert", "kill", "open",_
"select", "sys", "sysobjects", "syscolumns",_
"table", "update")
' Populate the error page you want to redirect to in case the
' check fails.
ErrorPage = "/ErrorPage.asp"
'''''''''''''''''''''''''''''''''''''''''''''''''''
' This function does not check for encoded characters
' since we do not know the form of encoding your application
' uses. Add the appropriate logic to deal with encoded characters
' in here
'''''''''''''''''''''''''''''''''''''''''''''''''''
Function CheckStringForSQL(str)
On Error Resume Next
Dim lstr
' If the string is empty, return true
If ( IsEmpty(str) ) Then
CheckStringForSQL = false
Exit Function
ElseIf ( StrComp(str, "") = 0 ) Then
CheckStringForSQL = false
Exit Function
End If
lstr = LCase(str)
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 90 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 91 of 130
<!--#include file="SqlCheckInclude.asp"-->
<%
Response.Write("Welcome to the Test Page.")
Response.Write("If you are seeing this page then SQL validation succeeded.")
%> ErrorPage.asp
If a black list string is found in any input, this is the page you will be forwarded to. You can reuse any custom
error page that you already have for this. I am including this only for the sake of completeness.
<%
' ErrorPage.asp
'
' Author: Nazim Lala
'
' This is the error page that users will be redirected to if the input cannot
' be validated
%>
<%Response.Write("ERROR: Invalid Input")%>
SendEmail.asp
This script sends email via a remote SMTP server that uses credentials. You will need to integrate this into your
application at the right place to get error reporting via email.
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 8:18 AM by freefilmx
film izle
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 8:20 AM by pendiksecim
http://www.pendikdesecim.com
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 8:21 AM by ucaydogalgaz
dogalgaz kombi
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 8:22 AM by pendiksecim
secim anket
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 8:23 AM by ftk cambalkon
cam balkon sis
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 8:25 AM by pendik bilisim
bilisim bilgisayar
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 11:17 AM by sohbet
i like that thanks..
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 11:24 AM by sohbet
i like that thanks..
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 11:24 AM by sohbet
i like that thanks..
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 11:24 AM by sohbet
i like that thanks..
# re: Filtering SQL injection from Classic ASP
Tuesday, January 13, 2009 11:24 AM by sohbet
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 92 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 93 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 94 of 130
thanks
# re: Filtering SQL injection from Classic ASP
Thursday, January 15, 2009 9:18 PM by netlog
thansk
# re: Filtering SQL injection from Classic ASP
Thursday, January 15, 2009 10:33 PM by chat
thanks
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 4:35 AM by Sohbet odalar
Thanks
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 6:02 AM by Tfaresi
<a href="http://www.akar.gs" title="akar, web dizini, web dizinleri, cretsiz, kodsuz, link ekle" >Web Dizinleri</a>
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 6:03 AM by oyun oyna
thansk for this post
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 6:03 AM by oyun oyna
thansk for this post
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 6:04 AM by oyun oyna
thanks for all
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 6:04 AM by oyun oyna
thanks for all
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 9:04 AM by www.uyurgezer.net
This doesn't solve SQL injection attacks.
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 10:38 AM by Jirka jr.
Input will be enclosed in single quotes in SQL query, because it is string. Isn't it enough to replace each single
quote with two single quotes?
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 5:25 PM by Netlog
Hello Thanks ..!
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 5:27 PM by Netlog
thankss
# re: Filtering SQL injection from Classic ASP
Friday, January 16, 2009 5:28 PM by Netlog
??????
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 8:54 AM by Netlog
very goood !
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 10:14 AM by trke mIRC indir
Thankss
# re: Filtering SQL injection from Classic ASP
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 95 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 96 of 130
I have tried it with the option both checked and and checked to do a CSS clear on the subscription
checkbox/message (uncheck this if the checkbox/message appears in a strange location in your theme)
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 5:52 PM by dizi izle
Im using the Thesis theme with Wordpress, and have installed the Subscribe to Comments plug-in, but I do not
get any prompt/checkbox to Notify me of follow-up comments via e-mail.
.<a href = "http://www.diziburda.net">dizi izle</a>
I have tried it with the option both checked and and checked to do a CSS clear on the subscription
checkbox/message (uncheck this if the checkbox/message appears in a strange location in your theme)
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 5:55 PM by YILDIRAY
thanks you
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 5:57 PM by download-load
thanks my friend !!
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 5:59 PM by download
thanks man
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 6:01 PM by yutup
internet is very big world and we are small people. thank you very much...
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 6:01 PM by kurtlar vadisi pusu
thanks a lot
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 6:01 PM by yutup
internet is very big world and we are small people. thank you very much...
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 6:06 PM by sedat
very very thanx
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 6:10 PM by sedat
very very thanxxx
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 6:25 PM by umut
Thanks for this goog letter
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 7:14 PM by Dogu
thanks for share .
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 7:20 PM by liseli kzlar
Hello Thanks'SSs
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 7:22 PM by hi5
selammsmss
# re: Filtering SQL injection from Classic ASP
Saturday, January 17, 2009 7:23 PM by Sohbet Odas
sohbet odas .. my tarz !!
# re: Filtering SQL injection from Classic ASP
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 97 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 98 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official M... Page 99 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 100 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 101 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 102 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 103 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 104 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 105 of 130
It isn't as big of a deal at the moment, but it is always good to make sure everyone is aware of this
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 3:36 AM by ekz
Thank you very much for this information
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 5:13 AM by film izle
cok thanks ederim.
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 5:14 AM by film izle
cok thanks ederim.
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 5:14 AM by film izle
cok thanks ederim.
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 9:18 AM by Estetik
thank you
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 10:08 AM by oyunlar
A very large collection of free Flash and Java games in numerous categories : arcade flash games, action flash
games, sports flash games, puzzle games ( Numberone Flash Game Site )
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 10:09 AM by oyun
thank you
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 10:14 AM by kz oyunlar
thank you
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 1:20 PM by sohbet
eyw good thank
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 1:22 PM by mirc
A very large collection of free Flash and Java games in numerous categories : arcade flash games, action flash
games, sports flash games, puzzle games ( Numberone Flash Game Site )
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 1:23 PM by mirc indir
Thanks for sharing your feedback! If your feedback doesn't appear right away, please be patient as it may take a
few minutes to publish - or longer if the blogger is moderating comments
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 1:24 PM by film indir
very good nice galery
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 1:27 PM by divx film indir
owwww yes nice post
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 2:21 PM by kaan
thanks you admin
http://eftelya.org
# re: Filtering SQL injection from Classic ASP
Thursday, January 22, 2009 6:10 PM by film izle
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 106 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 107 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 108 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 109 of 130
thanks
# re: Filtering SQL injection from Classic ASP
Monday, January 26, 2009 6:25 AM by asdas
<a title="sagopa" href="http://rap.hiphopwars.net">sagopa</a>
<a title="ceza arklar" href="http://www.hiphopwars.net">ceza arklar</a>
# re: Filtering SQL injection from Classic ASP
Monday, January 26, 2009 7:49 AM by EKS CAM BALKON SSTEMLER
thanks..
# re: Filtering SQL injection from Classic ASP
Monday, January 26, 2009 12:38 PM by ftk
doalgaz blog
# re: Filtering SQL injection from Classic ASP
Monday, January 26, 2009 3:13 PM by sohbet odalar
thanks yours. I just couldnt understan :(
# re: Filtering SQL injection from Classic ASP
Monday, January 26, 2009 3:14 PM by canli tv
thanks live free movies
# re: Filtering SQL injection from Classic ASP
Monday, January 26, 2009 3:14 PM by canli tv
thanks live free movies
# re: Filtering SQL injection from Classic ASP
Tuesday, January 27, 2009 7:44 AM by resim
thanks
# re: Filtering SQL injection from Classic ASP
Tuesday, January 27, 2009 7:44 AM by resim
ddgf nh rff hhkcdgh
# re: Filtering SQL injection from Classic ASP
Tuesday, January 27, 2009 4:51 PM by perde
thanks very good
ts lucks thats
# re: Filtering SQL injection from Classic ASP
Tuesday, January 27, 2009 4:53 PM by mike
cool site thank u very much my friend
# re: Filtering SQL injection from Classic ASP
Tuesday, January 27, 2009 7:42 PM by youtube
Very good. Thanks.
# re: Filtering SQL injection from Classic ASP
Tuesday, January 27, 2009 7:44 PM by youtube
Very good. Thanks.
# re: Filtering SQL injection from Classic ASP
Wednesday, January 28, 2009 4:08 AM by bitanem
bitanem sohbet chat cet et bitanem sohbet mirc
# re: Filtering SQL injection from Classic ASP
Wednesday, January 28, 2009 4:23 AM by Mirc
thanks
# re: Filtering SQL injection from Classic ASP
Wednesday, January 28, 2009 4:46 AM by ssk sorgulama
<a href="http://www.ayrilmaz.net" title="ssk sorgulama" target="_blank">ssk</a>
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 110 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 111 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 112 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 113 of 130
'
' However this is may not suffice, because:
' 1) These might not cover all the cases (like encoded characters)
' 2) This may disallow legitimate input
'
' Creating a raw sql query strings by concatenating user input is
' unsafe programming practice. It is advised that you use parameterized
' SQL instead. Check support.microsoft.com/.../q164485 for information
' on how to do this using ADO from ASP.
'
' Moreover, you need to also implement a white list for your parameters.
' For example, if you are expecting input for a zipcode you should create
' a validation rule that will only allow 5 characters in [0-9].
'
BlackList = Array("--", ";", "/*", "*/", "@@", "@",_
"char", "nchar", "varchar", "nvarchar",_
"alter", "begin", "cast", "create", "cursor",_
"declare", "delete", "drop", "end", "exec",_
"execute", "fetch", "insert", "kill", "open",_
"select", "sys", "sysobjects", "syscolumns",_
"table", "update", "'", "%27", "''","Jyl=", "\", "\*", "alert", "*", "xss", "style", "hidden", "form", "embed",
"applet", ".vb", ".js", ":", "BLOCKED SCRIPT", "script", """", "--")
' Populate the error page you want to redirect to in case the
' check fails.
ErrorPage = "index.html"
'''''''''''''''''''''''''''''''''''''''''''''''''''
' This function does not check for encoded characters
' since we do not know the form of encoding your application
' uses. Add the appropriate logic to deal with encoded characters
' in here
'''''''''''''''''''''''''''''''''''''''''''''''''''
Function CheckStringForSQL(str)
On Error Resume Next
Dim lstr
' If the string is empty, return true
If ( IsEmpty(str) ) Then
CheckStringForSQL = false
Exit Function
ElseIf ( StrComp(str, "") = 0 ) Then
CheckStringForSQL = false
Exit Function
End If
lstr = LCase(str)
' Check if the string contains any patterns in our
' black list
For Each s in BlackList
If ( InStr (lstr, s) <> 0 ) Then
CheckStringForSQL = true
Exit Function
End If
Next
CheckStringForSQL = false
End Function
'''''''''''''''''''''''''''''''''''''''''''''''''''
' Check forms data
'''''''''''''''''''''''''''''''''''''''''''''''''''
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 114 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 115 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 116 of 130
Pray tell, why is anyone running NoScript a fool? I thought it was pretty obvious that it greatly increases security,
and not only that, it also removes most of the stupid advertising
# re: Filtering SQL injection from Classic ASP
Saturday, January 31, 2009 7:27 AM by cambalkon-ascambalkon
cam balkon ,katlanr cam imalat montaj
# re: Filtering SQL injection from Classic ASP
Saturday, January 31, 2009 7:34 AM by Dans Kursu
Isn't t a hacking method?
# re: Filtering SQL injection from Classic ASP
Saturday, January 31, 2009 8:32 AM by yahoo chat
thnk'ss
# re: Filtering SQL injection from Classic ASP
Saturday, January 31, 2009 11:58 AM by alper akyz
thanks for post, i'll follow your blog. Recommend it my friends.
# re: Filtering SQL injection from Classic ASP
Saturday, January 31, 2009 2:38 PM by spor haberleri
thanks admin..
# re: Filtering SQL injection from Classic ASP
Saturday, January 31, 2009 7:05 PM by sohbet odalar
thank you
# re: Filtering SQL injection from Classic ASP
Saturday, January 31, 2009 7:08 PM by sohbet
loverin the webs ;)
thanks.
# re: Filtering SQL injection from Classic ASP
Saturday, January 31, 2009 7:08 PM by chat
thanks admin.
# re: Filtering SQL injection from Classic ASP
Sunday, February 01, 2009 5:15 AM by sohbet
thanks for post, i'll follow your blog thanks
# re: Filtering SQL injection from Classic ASP
Sunday, February 01, 2009 5:17 AM by chat
thanks you
# re: Filtering SQL injection from Classic ASP
Sunday, February 01, 2009 7:45 AM by Chat Odalar
thanks
# re: Filtering SQL injection from Classic ASP
Sunday, February 01, 2009 11:02 AM by msn avatarlar
A very nice article I is.Thanks A lot
# re: Filtering SQL injection from Classic ASP
Sunday, February 01, 2009 11:12 AM by bilgisayar
thanks you admin
# re: Filtering SQL injection from Classic ASP
Sunday, February 01, 2009 11:13 AM by saray bilgisayar
thanks you admin
# re: Filtering SQL injection from Classic ASP
Sunday, February 01, 2009 11:14 AM by saray bilgisayar
thanks you
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 117 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 118 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 119 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 120 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 121 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 122 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 123 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 124 of 130
thanks a Lot..
# re: Filtering SQL injection from Classic ASP
Saturday, February 14, 2009 12:39 PM by ak iirleri
thank you verymuch
# re: Filtering SQL injection from Classic ASP
Saturday, February 14, 2009 2:21 PM by travesti
Ok, here is my "soap box"...I could have made a lot more money shorting stocks (which I would never do, even
though it is legal, I just believe it is unethical and further hurts struggling companies Sort of like shooting the
wounded!).
#re: Filtering SQL injection from Classic ASP
Saturday, February 14, 2009 2:43 PM by chat
chat-sohbet-muhabbet-mirc www.sibersahne.com
# re: Filtering SQL injection from Classic ASP
Saturday, February 14, 2009 5:58 PM by chat
TRs
# re: Filtering SQL injection from Classic ASP
Saturday, February 14, 2009 5:58 PM by chat
TRs
# re: Filtering SQL injection from Classic ASP
Sunday, February 15, 2009 8:54 AM by hugo oyunlar
<a href="www.oyunsesi.com/hugo_oyunlari_1.htm">hugo oyunlar</a>
# re: Filtering SQL injection from Classic ASP
Sunday, February 15, 2009 9:03 AM by sohbet
thanks for you, nice.
# re: Filtering SQL injection from Classic ASP
Sunday, February 15, 2009 9:04 AM by sohbet
sohbet muhabbet et
thanks for you nice post
okay;p
# re: Filtering SQL injection from Classic ASP
Sunday, February 15, 2009 9:05 AM by sohbet
Thanks for you.
# re: Filtering SQL injection from Classic ASP
Sunday, February 15, 2009 9:06 AM by hugo oyunlar
<a href="www.oyunsesi.com/hugo_oyunlari_1.htm">hugo oyunlar</a>
# re: Filtering SQL injection from Classic ASP
Monday, February 16, 2009 6:10 PM by sport video
thanks for the info
# re: Filtering SQL injection from Classic ASP
Monday, February 16, 2009 6:11 PM by Kamera sakalari
Danke fr die Informationen war sehr ntzlich
# re: Filtering SQL injection from Classic ASP
Monday, February 16, 2009 6:15 PM by Kamera sakalari
Danke fr die Informationen war sehr ntzlich
# re: Filtering SQL injection from Classic ASP
Monday, February 16, 2009 6:45 PM by bbg
thanks man nice info
# re: Filtering SQL injection from Classic ASP
Tuesday, February 17, 2009 1:52 PM by ucuz oteller
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 125 of 130
a variety of folks in their organization trying to find the response to that request." workand i hope <a
href="http://www.e-okullu.com" title="veli bilgilendirme sistemi">e-okul</a>
and we love <a href="http://www.ucuzoteller.net" title="ucuz oteller">ucuz otel</a>
XBRL will reduce the friction and the cost of complying with information management demands from the CEO
and the board, Kapoor says.
# re: Filtering SQL injection from Classic ASP
Tuesday, February 17, 2009 6:47 PM by babil cam balkon
<a href="http://www.babilcambalkon.com" title="Cam Balkon">Cam balkon</a>
# re: Filtering SQL injection from Classic ASP
Tuesday, February 17, 2009 6:48 PM by ftkcambalkon
<a href="http://www.ftkcambalkon.com" title="Cam Balkon">Cam balkon</a>
# re: Filtering SQL injection from Classic ASP
Tuesday, February 17, 2009 9:09 PM by sesli chat
tahnk ypu
# re: Filtering SQL injection from Classic ASP
Thursday, February 19, 2009 4:48 AM by katlanr cam
thankss you...
[...] this theme (BloggingPro) was not widget enabled, so some work needs to be done. The Widgetizing Themes
tutorial was useful [...]
# re: Filtering SQL injection from Classic ASP
Thursday, February 19, 2009 10:00 AM by govt-tt
Would it make sense to count how many Blacklist values are used per field? For example, I have a field that
should allow "O'Caston" and another field that should allow ">0 and <100" but neither field should allow ', cast, <,
and >. If I do a count (along with your code) and find more than two Blacklist values, would this be enough to
stop an attack?
# re: Filtering SQL injection from Classic ASP
Thursday, February 19, 2009 2:22 PM by tuba buyukustun
thanks demek isterim bu guzellik karsinda
# re: Filtering SQL injection from Classic ASP
Thursday, February 19, 2009 3:25 PM by e-okul
should allow "O'Caston" and another field that should allow ">0 and <100" but neither field should allow ', cast, <,
and >. If I do a count (along with your code) and find more than two Blacklist values, would this be enough to
stop an attack? thanks
# re: Filtering SQL injection from Classic ASP
Thursday, February 19, 2009 3:30 PM by e-okul
Thank you very much...
# re: Filtering SQL injection from Classic ASP
Friday, February 20, 2009 3:41 AM by okey
danke admin
# re: Filtering SQL injection from Classic ASP
Friday, February 20, 2009 3:41 AM by okey
danke admin
# re: Filtering SQL injection from Classic ASP
Friday, February 20, 2009 3:17 PM by araba
thanks <a rel="nofollow" target="_blank" title="http://lotosonuclari.com"
href="http://lotosonuclari.com">sonular</a>
# re: Filtering SQL injection from Classic ASP
Friday, February 20, 2009 3:18 PM by sonular
thanks admin
# re: Filtering SQL injection from Classic ASP
Friday, February 20, 2009 3:52 PM by okey oyna
thanks
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 126 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 127 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 128 of 130
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 129 of 130
Leave a Comment
Title (required)
Comments (required)
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012
Filtering SQL injection from Classic ASP - Nazim's IIS Security Blog : The Official ... Page 130 of 130
Remember Me?
Submit
http://blogs.iis.net/nazim/archive/2008/04/28/filtering-sql-injection-from-classic-asp.aspx
1/7/2012