GitHub PullRequestReviewCommentEvent at 2014-05-18 21:30:53
Repository: metasploit-framework
Actor: Meatballs1
Payload: {"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/comments/12776401","id":12776401,"diff_hunk":"@@ -314,26 +314,62 @@ def self.to_winpe_only(framework, code, opts={}, arch=\"x86\")\n         exe = fd.read(fd.stat.size)\n       }\n \n+    pe_header_size = 0x18\n+    entryPoint_offset = 0x28\n+    section_size = 0x28\n+    characteristics_offset = 0x24\n+    virtualAddress_offset = 0x0c\n+    sizeOfRawData_offset = 0x10\n+    dllCharacteristics_relative_offset = 0x46\n+\n+    #remove ASLR and permanent DEP\n+    dllCharacteristics_offset = pe._dos_header.v['e_lfanew'] + pe_header_size + dllCharacteristics_relative_offset\n+    new_DllCharacteristics = pe.hdr.opt.DllCharacteristics & 0xf000","path":"lib/msf/util/exe.rb","position":23,"original_position":23,"commit_id":"32e757dadb3235b8b8bc68c57908d6dd276b2261","original_commit_id":"32e757dadb3235b8b8bc68c57908d6dd276b2261","user":{"login":"Meatballs1","id":1854557,"avatar_url":"https://avatars.githubusercontent.com/u/1854557?","gravatar_id":"a8fbe8d16df85ab2edb58beb11d44a46","url":"https://api.github.com/users/Meatballs1","html_url":"https://github.com/Meatballs1","followers_url":"https://api.github.com/users/Meatballs1/followers","following_url":"https://api.github.com/users/Meatballs1/following{/other_user}","gists_url":"https://api.github.com/users/Meatballs1/gists{/gist_id}","starred_url":"https://api.github.com/users/Meatballs1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meatballs1/subscriptions","organizations_url":"https://api.github.com/users/Meatballs1/orgs","repos_url":"https://api.github.com/users/Meatballs1/repos","events_url":"https://api.github.com/users/Meatballs1/events{/privacy}","received_events_url":"https://api.github.com/users/Meatballs1/received_events","type":"User","site_admin":false},"body":"Constant","created_at":"2014-05-18T21:30:53Z","updated_at":"2014-05-18T21:30:53Z","html_url":"https://github.com/rapid7/metasploit-framework/pull/3325#discussion_r12776401","pull_request_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/3325","_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/comments/12776401"},"html":{"href":"https://github.com/rapid7/metasploit-framework/pull/3325#discussion_r12776401"},"pull_request":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/3325"}}}}