diff options
author | Dario Lombardo <lomato@gmail.com> | 2019-05-29 16:06:38 +0200 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2019-06-26 07:09:54 +0000 |
commit | 1af6e1f8603825d9781815c6cd25e7dca31ca147 (patch) | |
tree | 770a75a723b39ca17ead4c7b9245b5d3a9996985 /ui/qt/credentials_dialog.h | |
parent | 94d0e081c6159f3002c2eb56807a5551d541948d (diff) |
tap: add credentials tap.
This new tap collects credentials (username and paassword)
from the dissectors.
So far, few dissectors have been instrumented:
- http (basic auth)
- http (header auth)
- ftp
Others can be instrumented as well using the same technique.
Tshark has a new option (-z credentials) and Wireshark a new
"tools" menu: the documentation has been updated accordingly.
Change-Id: I2d0d96598c85bb3ea4fb5ec090dd8dc28b481fc9
Reviewed-on: https://code.wireshark.org/review/33453
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'ui/qt/credentials_dialog.h')
-rw-r--r-- | ui/qt/credentials_dialog.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/ui/qt/credentials_dialog.h b/ui/qt/credentials_dialog.h new file mode 100644 index 0000000000..a2a881bd39 --- /dev/null +++ b/ui/qt/credentials_dialog.h @@ -0,0 +1,55 @@ +/* + * credentials_dialog.h + * + * Copyright 2019 - Dario Lombardo <lomato@gmail.com> + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef CREDENTIALS_DIALOG_H +#define CREDENTIALS_DIALOG_H + +#include "config.h" + +#include <wireshark_dialog.h> +#include "packet_list.h" +#include <ui/tap-credentials.h> + +namespace Ui { +class CredentialsDialog; +} + +class CredentialsDialog : public WiresharkDialog +{ + Q_OBJECT + +public: + explicit CredentialsDialog(QWidget &parent, CaptureFile &cf, PacketList *packet_list); + ~CredentialsDialog(); + +private slots: + void actionGoToPacket(const QModelIndex&); + +private: + Ui::CredentialsDialog *ui; + PacketList *packet_list_; +}; + +#endif // CREDENTIALS_DIALOG_H + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 4 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: + */ |