是否可以编译反编译的十六进制代码?

时间:2020-02-10 11:39:06

标签: c# compilation hex recompile

是否可以将SoapHexBinary编译回.exe

var str = new SoapHexBinary(File.ReadAllBytes(@"c:\test\test.exe")).ToString();
Console.WriteLine(str);

1 个答案:

答案 0 :(得分:1)

import requests
import bs4 as bs

url = 'https://www.118100.se/sok/foretag/?q=brf&loc=&ob=rel&p=0'

response = requests.get(url)
# print('Response:', response.status_code)

soup = bs.BeautifulSoup(response.text, 'lxml')
titles = soup.find_all('div',  {'class': 'Name'})

# a = soup.find_all('a')
# print(a)

for title in titles:
    link = soup.find('a',  {'title': title.text}).get('href')
    print('https://www.118100.se' + link)

请注意,这里没有“编译”-只是字节,它们会成为exe ;一旦返回字节,它们仍然是相同的exe(如果您发送了gif文件,那么它仍将是相同的gif文件,依此类推)。如果要将其作为文件:将字节写入文件系统。

相关问题