{"id":113,"date":"2008-07-23T12:00:00","date_gmt":"2008-07-23T12:00:00","guid":{"rendered":""},"modified":"2008-07-23T12:00:00","modified_gmt":"2008-07-23T12:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/www.inbreak.net\/archives\/113.html","title":{"rendered":"\u7528python\u5199\u4e86\u4e2aoracle\u6570\u636e\u5e93\u5bc6\u7801\u626b\u63cf\u5de5\u5177"},"content":{"rendered":"
\u95f2\u6765\u65e0\u4e8b\uff0c\u5199\u4e2a\u5c0f\u5de5\u5177\u3002\u626boracle\u5bc6\u7801\u3002
\n\u6c34\u5e73\u6709\u9650\uff0c\u5bf9python\u6ca1\u6709\u6df1\u7a76\uff0c\u751a\u81f3\u5728\u5199\u5de5\u5177\u7684\u65f6\u5019\u8fde"or"\u8fd9\u79cd\u6761\u4ef6\u8bed\u53e5\u90fd\u4e0d\u4f1a\u3002
\n\u6240\u4ee5\u5927\u5bb6\u5c06\u5c31\u4e0b\u3002\u3002\u3002
\n———————–oracle’s password,user scan
\n———————–code by kxlzx
\n———————–voidloafer@gmail.com
\n———————–http:\/\/inbreak.net
\ndbname.ini — database name
\npass.ini — passwords
\nuser.ini — users
\nini file context like aaa,bbb,ccc
\nhelp:
\noracle.py [host] [port] [save to filename] [type]
\noracle.py [save to filename] [tns_name] [type]
\ntype–ip use ip,port,password,username,dbname to connnect oracle
\ntype–tns use username,password,tns to connnect oracle
\nuse ag:
\noracle.py 192.168.0.254 1521 result.txt ip
\noracle.py result.txt db tns
\nother:
\nyou need download the cx_Oracle-*-*-py25 from google and setup
\ngood luck!<\/p>\n
\u4f7f\u7528\u8bf4\u660e\uff1a
\n\u4e24\u79cd\u7834\u89e3\u6a21\u5f0f\uff0cIP\u7aef\u53e3\u548cTNS<\/p>\n
\u56e0\u4e3a\u540c\u65f6\u626b\u63cfIP\u548c\u7aef\u53e3\u65f6\uff0c\u5728IP\u4e0d\u5b58\u5728\u7684\u65f6\u5019\uff0c\u4f1a\u51fa\u73b0\u7b49\u5f85\u3002\u6240\u4ee5\u4e0d\u80fd\u626bIP\u3002
\n\u4f7f\u7528\u7684\u65f6\u5019\u53ef\u4ee5\u5148\u7528\u522b\u7684\u5de5\u5177\u626b\uff0c\u518d\u7528\u8fd9\u4e2a\u4e1c\u897f\u7834\u89e3oracle\u5bc6\u7801\u3002
\n\u4f7f\u7528\u4f8b\u5b50\uff1a
\nIP\u6a21\u5f0f\uff1a
\noracle.py 192.168.0.254 1521 result.txt ip
\n192.168.0.254\u662fIP
\n1521\u662f\u7aef\u53e3
\nresult.txt\u662f\u626b\u63cf\u7ed3\u679c\u6587\u4ef6
\nip\u8868\u793a\u9009\u62e9IP\u6a21\u5f0f<\/p>\n
\u6216\u8005TNS\u6a21\u5f0f\uff1a
\noracle.py result.txt db tns
\nresult.txt\u662f\u626b\u63cf\u7ed3\u679c\u6587\u4ef6
\ndb\u662ftns\u540d\u79f0
\ntns\u8868\u793a\u9009\u62e9TNS\u6a21\u5f0f<\/p>\n
dbname.ini — \u6570\u636e\u5e93\u540d\u5b57\u5178
\npass.ini — \u5bc6\u7801\u5b57\u5178
\nuser.ini — \u7528\u6237\u540d\u5b57\u5178
\nini \u5b57\u5178\u6587\u4ef6\u7684\u5185\u5bb9\u5fc5\u987b\u662f “aaa,bbb,ccc” \u7684\u6837\u5b50<\/p>\n
\u5728\u9009\u62e9tns\u6a21\u5f0f\u65f6\uff0c\u672c\u673a\u8981\u88c5\u6709\u4e00\u4e2atns\u624d\u53ef\u4ee5<\/p>\n
\u4f7f\u7528\u5de5\u5177\u4e4b\u524d\uff0c\u672c\u673a\u8981\u5b89\u88c5cx_Oracle-*-*-py25\uff0c\u5728google\u53ef\u4ee5\u627e\u5230\u3002<\/p>\n
<\/p>\n
\u4e0b\u8f7d\u5730\u5740\uff1aoracle_scaner.rar<\/p>\n","protected":false},"excerpt":{"rendered":"
<\/p>\n