Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149800 Details for
Bug 231746
Review Request: ettercap - Network traffic sniffer/analyser
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Makes ettercap only display supported UI options, fixes some typos and supports different names for the invocation
ettercap-NG-0.7.3-UI.patch (text/plain), 2.65 KB, created by
Till Maas
on 2007-03-11 22:10:05 UTC
(
hide
)
Description:
Makes ettercap only display supported UI options, fixes some typos and supports different names for the invocation
Filename:
MIME Type:
Creator:
Till Maas
Created:
2007-03-11 22:10:05 UTC
Size:
2.65 KB
patch
obsolete
>diff -ru ettercap-NG-0.7.3/src/ec_parser.c ettercap-NG-0.7.3.patched/src/ec_parser.c >--- ettercap-NG-0.7.3/src/ec_parser.c 2004-07-20 11:53:53.000000000 +0200 >+++ ettercap-NG-0.7.3.patched/src/ec_parser.c 2007-03-11 23:01:07.000000000 +0100 >@@ -73,12 +73,16 @@ > fprintf(stdout, " -t, --proto <proto> sniff only this proto (default is all)\n"); > > fprintf(stdout, "\nUser Interface Type:\n"); >- fprintf(stdout, " -T, --text use text only GUI\n"); >+ fprintf(stdout, " -T, --text use text only UI\n"); > fprintf(stdout, " -q, --quiet do not display packet contents\n"); > fprintf(stdout, " -s, --script <CMD> issue these commands to the GUI\n"); >- fprintf(stdout, " -C, --curses use curses GUI\n"); >+#ifdef HAVE_NCURSES >+ fprintf(stdout, " -C, --curses use curses UI\n"); >+#endif >+#ifdef HAVE_GTK > fprintf(stdout, " -G, --gtk use GTK+ GUI\n"); >- fprintf(stdout, " -D, --daemon daemonize ettercap (no GUI)\n"); >+#endif >+ fprintf(stdout, " -D, --daemon daemonize ettercap (no UI)\n"); > > fprintf(stdout, "\nLogging options:\n"); > fprintf(stdout, " -w, --write <file> write sniffed data to pcapfile <file>\n"); >@@ -173,6 +177,17 @@ > { 0 , 0 , 0 , 0} > }; > >+#ifdef HAVE_GTK >+ if (strcmp(argv[0], "ettercap-gtk") == 0) >+ select_gtk_interface(); >+#endif >+#ifdef HAVE_CURSES >+ if (strcmp(argv[0], "ettercap-curses") == 0) >+ select_curses_interface(); >+#endif >+ if (strcmp(argv[0], "ettercap-text") == 0) >+ select_text_interface(); >+ > for (c = 0; c < argc; c++) > DEBUG_MSG("parse_options -- [%d] [%s]", c, argv[c]); > >@@ -215,11 +230,20 @@ > break; > > case 'C': >+#ifdef HAVE_NCURSES > select_curses_interface(); >+#else >+ fprintf(stdout, "\nncurses-interface not supported.\n\n"); >+ clean_exit(-1); >+#endif > break; >- > case 'G': >+#ifdef HAVE_GTK > select_gtk_interface(); >+#else >+ fprintf(stdout, "\nGTK-Interface not supported.\n\n"); >+ clean_exit(-1); >+#endif > break; > > case 'D': >@@ -429,8 +453,9 @@ > if (GBL_OPTIONS->read && GBL_OPTIONS->mitm) > FATAL_ERROR("Cannot use mitm attacks while reading from file"); > >- if (GBL_UI->init == NULL) >+ if (GBL_UI->init == NULL) { > FATAL_ERROR("Please select an User Interface"); >+ } > > /* force text interface for only mitm attack */ > if (GBL_OPTIONS->only_mitm) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231746
: 149800 |
150043
|
150165
|
150460