enumdotnet.cna 618 B

12345678910111213141516171819202122
  1. # author REDMED-X
  2. beacon_command_register(
  3. "enumdotnet", "Find processes that most likely have .NET loaded.",
  4. "INFO:\nFind processes that most likely have .NET loaded by searching for the section name: \BaseNamedObjects\Cor_Private_IPCBlock(_v4)_<ProcessId>\n\n" .
  5. "USAGE:\nenumdotnet\n\n");
  6. alias enumdotnet {
  7. $bid = $1;
  8. # Read in the right BOF file
  9. $handle = openf(script_resource("enumdotnet.o"));
  10. $data = readb($handle, -1);
  11. closef($handle);
  12. blog($bid, "Tasked to search for processes that have .NET loaded..");
  13. beacon_inline_execute($bid, $data, "go", $null);
  14. }