basic stuff for sybase

This commit is contained in:
Miroslav Stampar
2010-10-12 19:05:12 +00:00
parent 9840d25b55
commit f9f79ffbaf
5 changed files with 77 additions and 3 deletions

View File

@@ -103,7 +103,8 @@ class Fingerprint(GenericFingerprint):
if conf.direct:
result = True
else:
payload = agent.fullPayload(" AND LEN(@@VERSION)=LEN(@@VERSION)")
randInt = randomInt()
payload = agent.fullPayload(" AND BINARY_CHECKSUM(%d)=BINARY_CHECKSUM(%d))" % (randInt, randInt))
result = Request.queryPage(payload)
if result: