Results 1 to 2 of 2

Thread: killare un handle con handle.exe

  1. #1
    Lieutenant Commander Rayvaughan's Avatar
    Join Date
    Mar 2005
    Location
    45.663989,8.783906
    Posts
    17.274

    Default killare un handle con handle.exe

    allora non so se avete presente processexplorer.exe ed handle.exe, 2 programmini gratis scaricabili qui

    il mio problema è che non riesco a killare un handle usando handle.exe da riga di comando

    ad esempio usando processexplorer ed aprendo una qualsiasi finestra di notepad vedrete che nell'elenco degli handle del processo notepad.exe pid blabla vi è il seguente handle: HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\FileExts o n'altra roba, insomma l'elenco potrebbe cambiare dal vostro SO, ma il concetto è quello

    e lanciando handle.exe non me lo chiude, o meglio non riesco a scrivere la stringa giusta

    sintassi:
    usage: handle [[-a [-l]] [-u] | [-c <handle> [-y]] | [-s]] [-p <process>|<pid>][name]

    -a Dump all handle information.
    -l Just show pagefile-backed section handles.
    -c Closes the specified handle (interpreted as a hexadecimal number).
    You must specify the process by its PID.
    WARNING: Closing handles can cause application or system instability.
    -y Don't prompt for close handle confirmation.
    -s Print count of each type of handle open.
    -u Show the owning user name when searching for handles.
    -p Dump handles belonging to process (partial name accepted).
    name Search for handles to objects with <name> (fragment accepted).


    ovviamente dovrò usare il -c, ma "Closes the specified handle (interpreted as a hexadecimal number" come faccio ad inserire il valore esadecimale se non lo conosco e quindi a chiudere l'handle?

  2. #2
    Lieutenant Commander Rayvaughan's Avatar
    Join Date
    Mar 2005
    Location
    45.663989,8.783906
    Posts
    17.274

    Default

    risolto pd in pratica è l'hex della lista che ottengo di tutti gli handle legati a quel pid... 4 se il primo 8 se il secondo C se il terzo... GG

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[Output: 42.64 Kb. compressed to 36.44 Kb. by saving 6.20 Kb. (14.54%)]