Fmirra commited on
Commit
794ffbd
·
1 Parent(s): 13d560c

Update train_singleline.tsv

Browse files
Files changed (1) hide show
  1. train_singleline.tsv +9 -9
train_singleline.tsv CHANGED
@@ -74,7 +74,7 @@ Append the new_gr to the list results results.append(new_gr)
74
  If the method has_key with argument ipsrc of ttlValues is not True if not ttlValues.has_key(ipsrc):
75
  Define the function mirrorImages with argument url and dir def mirrorImages(url, dir):
76
  Call the method add_option with arguments '-u', dest equals to 'tgtURL', type equals to 'string' and help equals to 'specify target url' parser.add_option('-u', dest='tgtURL', type='string', help='specify target url')
77
- Start expect block except:
78
  Instantiate a Semaphore named screenLock initialized with variable values equals 1 screenLock = Semaphore(value=1)
79
  Return the variable kmlPts return kmlPts
80
  Exit the cycle break
@@ -121,7 +121,7 @@ Define the function with anonLogin with argument hostname def anonLogin(hostname
121
  Do nothing pass
122
  Import the library to interact with a sqlite database import sqlite3
123
  Define function botnetCommand with argument command def botnetCommand(command):
124
- Start expect block except:
125
  If preNum is not equal to 0 if preNum != 0:
126
  Call the function printRecord with argument tgt printRecord(tgt)
127
  Assign to date the result of the function str with argument row at the position 0 date = str(row[0])
@@ -372,7 +372,7 @@ Call the method ehlo with no argument of smtpServer smtpServer.ehlo()
372
  Call the method login with arguments user and pwd of smtpServer smtpServer.login(user, pwd)
373
  Call the method sendmail with arguments user, to and the method as_string with no argument of msg of smtpServer smtpServer.sendmail(user, to, msg.as_string())
374
  Call the method close with no argument of smtpServer smtpServer.close()
375
- Expect except:
376
  Do nothing pass
377
  Define the main function with no argument def main():
378
  Assign to parser the OptionParser with argument the concatenation of 'usage %prog ' ,'-u <twitter target> -t <target email> ' and '-l <gmail login> -p <gmail password>' -d <destination directory>' of optparse parser = optparse.OptionParser('usage %prog '+ '-u <twitter target> -t <target email> '+ '-l <gmail login> -p <gmail password>')
@@ -457,7 +457,7 @@ Import the library to interact with the python environment import sys
457
  Connect to the database cookiesDB and assign it to conn conn = sqlite3.connect(cookiesDB)
458
  Add the options to parser '-t', dest equals to 'thresh', type equals to 'string', help equals to 'specify threshould count' parser.add_option('-t', dest='thresh', type='int',help='specify threshold count ')
459
  Define function connScan with parameters tgtHost and tgtPort def connScan(tgtHost, tgtPort):
460
- Start block expect except:
461
  Call the method start on t and assign it to child child = t.start()
462
  Import the second version of http client import urllib2
463
  Assign to region the field 'region_name' of rec region = rec['region_name']
@@ -625,12 +625,12 @@ Start the try block try:
625
  Call method sendline with argument password of child child.sendline(password)
626
  Call the function connect with arguments host, user, password connect(host, user, password, False)
627
  Define the function connect with arguments host, user, password and release def connect(host, user, password, release):
628
- Start expect block except:
629
  Define the function findImages with argument url def findImages(url):
630
  Take the first argument of stream splitted at ':' and assign it to src src = stream.split(':')[0]
631
  If keyword of options is equal to None if options.keyword == None:
632
  If the function dnsQRTest returns True if dnsQRTest(pkt):
633
- Start the expect block except:
634
  Assign to results an empty list results = []
635
  Call the method scan with arguments subnet and '445' of nmScan nmScan.scan(subNet, '445')
636
  Assign to ab the class anonBrowser with no arguments ab = anonBrowser()
@@ -767,8 +767,8 @@ Define confickerExploit with arguments configFile, tgtHost, lhost and lport def
767
  Call the function checkTTL with arguments ipsrc and ttl checkTTL(ipsrc, ttl)
768
  For each ts and buf in pcap for (ts, buf) in pcap:
769
  Call the method write of configFile with argument 'set SMBPass' concatenated to the function str with argument password concatenated to '\n' configFile.write('set SMBPass ' + str(password) + '\\n')
770
- Start expect block with Exception and e except Exception, e:
771
- Start the expect block except:
772
  Assign to ret the object pack with arguments '<L' and 0x7C874413 of struct ret = struct.pack('<L', 0x7C874413)
773
  Call the function mirrorImages with arguments url and dir mirrorImages(url, dir)
774
  Assign to the variable user the value 'root' user = 'root'
@@ -819,7 +819,7 @@ Exit function returning retList return retList
819
  Assign to url the string 'http://whatismyuseragent.dotdoh.com/' url = 'http://whatismyuseragent.dotdoh.com/'
820
  Call the method write with argument data of save save.write(data)
821
  Call the class Thread with argument target equals to connect and assign it to t t = Thread(target=connect,\
822
- Start expect block except:
823
  Exit the function with sid value return sid
824
  Assign to parser the OptionParser with argument the concatenation of 'usage %prog ' and '-u <target url> -d <destination directory>' of optparse parser = optparse.OptionParser('usage %prog '+ '-u <target url> -d <destination directory>')
825
  Import the library to parse data import optparse
 
74
  If the method has_key with argument ipsrc of ttlValues is not True if not ttlValues.has_key(ipsrc):
75
  Define the function mirrorImages with argument url and dir def mirrorImages(url, dir):
76
  Call the method add_option with arguments '-u', dest equals to 'tgtURL', type equals to 'string' and help equals to 'specify target url' parser.add_option('-u', dest='tgtURL', type='string', help='specify target url')
77
+ Start except block except:
78
  Instantiate a Semaphore named screenLock initialized with variable values equals 1 screenLock = Semaphore(value=1)
79
  Return the variable kmlPts return kmlPts
80
  Exit the cycle break
 
121
  Do nothing pass
122
  Import the library to interact with a sqlite database import sqlite3
123
  Define function botnetCommand with argument command def botnetCommand(command):
124
+ Start except block except:
125
  If preNum is not equal to 0 if preNum != 0:
126
  Call the function printRecord with argument tgt printRecord(tgt)
127
  Assign to date the result of the function str with argument row at the position 0 date = str(row[0])
 
372
  Call the method login with arguments user and pwd of smtpServer smtpServer.login(user, pwd)
373
  Call the method sendmail with arguments user, to and the method as_string with no argument of msg of smtpServer smtpServer.sendmail(user, to, msg.as_string())
374
  Call the method close with no argument of smtpServer smtpServer.close()
375
+ Except except:
376
  Do nothing pass
377
  Define the main function with no argument def main():
378
  Assign to parser the OptionParser with argument the concatenation of 'usage %prog ' ,'-u <twitter target> -t <target email> ' and '-l <gmail login> -p <gmail password>' -d <destination directory>' of optparse parser = optparse.OptionParser('usage %prog '+ '-u <twitter target> -t <target email> '+ '-l <gmail login> -p <gmail password>')
 
457
  Connect to the database cookiesDB and assign it to conn conn = sqlite3.connect(cookiesDB)
458
  Add the options to parser '-t', dest equals to 'thresh', type equals to 'string', help equals to 'specify threshould count' parser.add_option('-t', dest='thresh', type='int',help='specify threshold count ')
459
  Define function connScan with parameters tgtHost and tgtPort def connScan(tgtHost, tgtPort):
460
+ Start block except except:
461
  Call the method start on t and assign it to child child = t.start()
462
  Import the second version of http client import urllib2
463
  Assign to region the field 'region_name' of rec region = rec['region_name']
 
625
  Call method sendline with argument password of child child.sendline(password)
626
  Call the function connect with arguments host, user, password connect(host, user, password, False)
627
  Define the function connect with arguments host, user, password and release def connect(host, user, password, release):
628
+ Start except block except:
629
  Define the function findImages with argument url def findImages(url):
630
  Take the first argument of stream splitted at ':' and assign it to src src = stream.split(':')[0]
631
  If keyword of options is equal to None if options.keyword == None:
632
  If the function dnsQRTest returns True if dnsQRTest(pkt):
633
+ Start the except block except:
634
  Assign to results an empty list results = []
635
  Call the method scan with arguments subnet and '445' of nmScan nmScan.scan(subNet, '445')
636
  Assign to ab the class anonBrowser with no arguments ab = anonBrowser()
 
767
  Call the function checkTTL with arguments ipsrc and ttl checkTTL(ipsrc, ttl)
768
  For each ts and buf in pcap for (ts, buf) in pcap:
769
  Call the method write of configFile with argument 'set SMBPass' concatenated to the function str with argument password concatenated to '\n' configFile.write('set SMBPass ' + str(password) + '\\n')
770
+ Start except block with Exception and e except Exception, e:
771
+ Start the except block except:
772
  Assign to ret the object pack with arguments '<L' and 0x7C874413 of struct ret = struct.pack('<L', 0x7C874413)
773
  Call the function mirrorImages with arguments url and dir mirrorImages(url, dir)
774
  Assign to the variable user the value 'root' user = 'root'
 
819
  Assign to url the string 'http://whatismyuseragent.dotdoh.com/' url = 'http://whatismyuseragent.dotdoh.com/'
820
  Call the method write with argument data of save save.write(data)
821
  Call the class Thread with argument target equals to connect and assign it to t t = Thread(target=connect,\
822
+ Start except block except:
823
  Exit the function with sid value return sid
824
  Assign to parser the OptionParser with argument the concatenation of 'usage %prog ' and '-u <target url> -d <destination directory>' of optparse parser = optparse.OptionParser('usage %prog '+ '-u <target url> -d <destination directory>')
825
  Import the library to parse data import optparse