MCPcopy
hub / github.com/sleventyeleven/linuxprivchecker / enum_dev_tools

Function enum_dev_tools

linuxprivchecker.py:370–384  ·  view source on GitHub ↗

Enumerate Development Tools (enum_dev_tools) Enumerate installed development tools and save the results :return: Dictionary of installed development tool results

()

Source from the content-addressed store, hash-verified

368
369
370def enum_dev_tools():
371 """
372 Enumerate Development Tools (enum_dev_tools)
373 Enumerate installed development tools and save the results
374
375 :return: Dictionary of installed development tool results
376 """
377
378 print "[*] ENUMERATING INSTALLED LANGUAGES/TOOLS FOR SPLOIT BUILDING...\n"
379
380 devtools = {"TOOLS": {"cmd": "which awk perl python ruby gcc cc vi vim nmap find netcat nc wget tftp ftp 2>/dev/null", "msg": "Installed Tools", "results": []}}
381 execute_cmd(devtools)
382 print_results(devtools)
383
384 return devtools
385
386
387def enum_shell_esapes(devtools):

Callers 1

Calls 2

execute_cmdFunction · 0.70
print_resultsFunction · 0.70

Tested by

no test coverage detected