You'll have to do a binary read of the first bytes of the file, and check the contents for markers the format is supposed to have.
For instance, a .gif starts with GIF, jpeg has TFIF in the first ten bytes etcetera. You'll have to find a list of file extensions and their marker end code that in...
I had the same message a while ago, coding something very similar and it turned out to be a firewall problem. The calling server could not reach the DC.
I'm guessing line 18 is one of the following two:
Set objDomain = getObject("LDAP://rootDse")
DomainString = objDomain.Get("dnsHostName")...
You should read up on "SQL injection" and "cross server scripting" attacks.
Both mean that an attacker tries to gain access to a database by filling in code in form fields, or sending code in the request.querystring object
a parameter id is an ideal candidate, but hackers try anything.
There...
In case anyone has this problem, I found the solution in the request.servervariables("CONTENT-TYPE") variable:
Private Function GetFormEncType()
Dim sContType, hCutOff
sContType = request.servervariables("CONTENT_TYPE")
hCutOff = InStr(sContType, ";")
If hCutOff > 0 Then...
Hi,
I have an ASP / VB6 web application, basically a CMS generating web sites with a lot of classic ASP pages and a VB6 COM component.
Recently our servers (like everyone else's) are under so called cross site script attacks, meaning that the attacker tries to gain entry by passing malicious...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.