Last active
April 5, 2016 20:18
-
-
Save jgstew/ef36d020de4614673ba8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" <br/> \n// Flagged as a potential virus " + | |
$('#basic-info > div > div > table > tbody > tr:has(> td:contains("Detection ratio:") ) > td:nth-child(2)').text().trim().split(' / ')[0] + | |
" times <br/> \n// TrID: " + | |
$('div#file-details.extra-info > div > div > table > tbody').children('tr:has(> td.field-key:contains("TrID") )').children('td.field-value').text().trim() + | |
" <br/> \n// Comments: " + | |
$('#file-details > div > div:has( > span:contains("Comments") )').contents().filter(function() { return this.nodeType == 3; }).text().trim() + | |
" <br/> \n// ProductName: " + | |
$('#file-details > div > div:has(> span:contains("Product"))').contents().filter(function() { return this.nodeType == 3; }).text().trim() + | |
" <br/> \n// ProductVersion: " + | |
$('#file-details > div > div:has( > div:contains("ProductVersionNumber") )').children('div.floated-field-value').text().trim() + | |
" <br/> \nprefetch " + | |
$('#basic-info > div > div > table > tbody > tr:has(> td:contains("File name:") ) > td:nth-child(2)').text().trim() + | |
" sha1:" + | |
$('div#file-details.extra-info').children('div').children('div:has(> span:contains("SHA1") )').contents().filter(function() { return this.nodeType == 3; }).text().trim() + | |
" size:" + | |
$('div#file-details.extra-info').children('div').children('div:has(> span:contains("File size") )').contents().filter(function() { return this.nodeType == 3; }).text().split(' ( ')[1].split(' bytes ')[0] + | |
" http://PUT_URL_TO_FILE_HERE sha256:" + | |
$('div#file-details.extra-info').children('div').children('div:has(> span:contains("SHA256") )').contents().filter(function() { return this.nodeType == 3; }).text().trim(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
moved to: https://github.com/jgstew/tools/tree/master/JS/VirusTotal2Prefetch