Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file added .vs/Finger/v17/.suo
Binary file not shown.
3 changes: 3 additions & 0 deletions .vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}
8 changes: 8 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"ExpandedNodes": [
"",
"\\finger_sdk"
],
"SelectedNode": "\\finger_plugin.py",
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
# Finger Multi-threading

An improved version of brilliant ida plugin finger, fixed 'always pop up' issue and implemented multi-threading to accelerate the recognition process.

**IMPORTANT: THIS PLUGIN IS STILL UNDER TEST!**

## Installation

* Always pull this git or download `finger_plugin_complete.py`, release may be out-of-date.
* Paste `finger_plugin_complete` under `\plugins\`, no further actions needed.
* **This plugin shall not been co-exist with old finger plugin **

## Known issue

* After running the plugin, your IDA will stuck into no-response status, it takes time depends on your functions count. (UI Completed)
You can change thread count in source file:

```python
#finger_plugin_complete.py: 277
#-------------------------------
def recognize_selected_function(self, funcs):
try:
self.string_pool = idautils.Strings()

#idaapi.msg("[D]FingerManager:recognize_selected_function\n")
#modify this constant to allocate more threads.
threads_count = 16
```

* Sometimes due to remote server SSL problem, you will receive exception:

```
requests.exceptions.SSLError: HTTPSConnectionPool(host='sec-lab.aliyun.com', port=443): Max retries exceeded with url: /finger/recognize/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)')))
```

Most of time this is normal. If it in deed influenced your project , try using fewer threads. This may due to remote denial of services problem, when may be issued by too many requests.

* **`TypeError: object of type 'map' has no len()`**

Manually modify `finger_plugin_complete.py`
``` python
# funcs = map(idaapi.getn_func, ctx.chooser_selection) # old
funcs = list(idaapi.getn_func, ctx.chooser_selection) # new
```
![2022-10-07 22-19-17 00_00_10-00_01_10~1](https://user-images.githubusercontent.com/20926583/194583856-81b9a536-9918-4eec-bb44-ba6a308ec007.gif)



-----
# Finger
Finger, a tool for recognizing function symbol.

Expand All @@ -15,6 +64,8 @@ pip install finger_sdk
~~~
After installing finger python SDK, you can check out the finger/exampls/recognize.py for more information.

*In fact, if you are using my fork, this sdk is not needed anymore.*

## Finger IDA Plugin
Copy plugin/finger_plugin.py to your IDA_PATH/plugins path.
### upload function
Expand Down
153 changes: 0 additions & 153 deletions finger_plugin.py

This file was deleted.

Loading