12.07.2013 Views

One-way Web Hacking

One-way Web Hacking

One-way Web Hacking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Response.write("")<br />

Response.write("")<br />

Response.write("")<br />

Response.write("")<br />

set objCon = server.createobject("ADODB.Connection")<br />

IF(strDSN = "") THEN<br />

IF(strCon = "") THEN<br />

IF(strDbsource = "Microsoft Access Driver (*.mdb)") THEN<br />

strServerName +<br />

ELSE<br />

strServerName +<br />

strDatabaseName<br />

ELSE<br />

objCon.ConnectionString= "Driver=" + strDbsource + ";server=" +<br />

";uid=" + strUserName + ";pwd=" + strPassword + ";DBQ=" + strDatabaseName<br />

objCon.ConnectionString= "Driver=" + strDbsource + ";server=" +<br />

";uid=" + strUserName + ";pwd=" + strPassword + ";database=" +<br />

END IF<br />

objCon.ConnectionString= strCon<br />

END IF<br />

ELSE<br />

IF(strCon = "") THEN<br />

objCon.ConnectionString= "Driver=" + strDbsource + ";DSN=" + strDSN + ";uid=" +<br />

strUserName + ";pwd=" + strPassword<br />

ELSE<br />

objCon.ConnectionString= "DSN=" + strDSN + ";" + strCon<br />

END IF<br />

END IF

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!