12.07.2013 Views

One-way Web Hacking

One-way Web Hacking

One-way Web Hacking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

sFrom = LCase(From)<br />

PosB = InStr(sFrom, sStart)<br />

If PosB > 0 Then<br />

Else<br />

PosB = PosB + Len(sStart)<br />

PosE = InStr(PosB, sFrom, sEnd)<br />

If PosE = 0 Then PosE = InStr(PosB, sFrom, vbCrLf)<br />

If PosE = 0 Then PosE = Len(sFrom) + 1<br />

SeparateField = Mid(From, PosB, PosE - PosB)<br />

SeparateField = Empty<br />

End If<br />

End Function<br />

Function GFN(FullPath)<br />

Dim Pos, PosF<br />

PosF = 0<br />

For Pos = Len(FullPath) To 1 Step -1<br />

Next<br />

Select Case Mid(FullPath, Pos, 1)<br />

Case "/", "\"<br />

PosF = Pos + 1<br />

Pos = 0<br />

End Select<br />

If PosF = 0 Then PosF = 1<br />

GFN = Mid(FullPath, PosF)<br />

End Function<br />

Function BTS(Binary)<br />

Dim cl1, cl2, cl3, pl1, pl2, pl3, L<br />

cl1=1

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

Saved successfully!

Ooh no, something went wrong!