diff options
author | David Timber <mieabby@gmail.com> | 2021-07-12 16:16:22 +1000 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2021-07-12 16:16:22 +1000 |
commit | 15bde4c46b707f7a95c7ea6650a3f02d67e50530 (patch) | |
tree | 1aa069521941a41171302dba837d57d35a2d9e41 /.vscode | |
parent | 3fbf08ab6522c91e8209b21d66430a2db4ea71cb (diff) |
Impl proone-htbtclient, bugfix, --enable-mttools
* Remove --enable-hostinfod and add --enable-mttools, which enables
hostinfod and htbtclient
* Change PRNE_HTBT_PROTO_PORT so that the macro can be used in another
macro expression(for help message)
* Add prne_mbedtls_perror()
* proone-htbtclient: implement hostinfo command
* proone-htbthost
* Add --hostcred option
* Response with status frame on ENOMEM
* htbt: add prne_htbt_serrc_tostr() and prne_htbt_gen_msgid()
* Add prne_ctoupper(), prne_ctolower(), prne_cisspace(), prne_cisprint()
* The added functions are the locale-independent equivalent of their
POSIX counterparts
* Remove Use of the POSIX functions
* Add test unit
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 14 | ||||
-rw-r--r-- | .vscode/tasks.json | 7 |
2 files changed, 20 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index e1aa280..bd9d2e0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -31,6 +31,20 @@ "miDebuggerPath": "/usr/bin/gdb" }, { + "name": "htbtclient", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/src/proone-htbtclient", + "args": [ "-t", "localhost", "hostinfo" ], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "preLaunchTask": "Build htbtclient", + "miDebuggerPath": "/usr/bin/gdb" + }, + { "name": "resolv", "type": "cppdbg", "request": "launch", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index bd3d1c8..4b31a75 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -31,6 +31,11 @@ "command": "make -C ./src proone-htbthost" }, { + "label": "Build htbtclient", + "type": "shell", + "command": "make -C ./src proone-htbtclient" + }, + { "label": "Build resolv", "type": "shell", "command": "make -C ./src proone-resolv" @@ -64,7 +69,7 @@ "label": "Build hostinfod", "type": "shell", "command": "make -C ./src proone-hostinfod" - } + }, { "label": "Build proone", "type": "shell", |