Skip to content

Commit

Permalink
Removed update references
Browse files Browse the repository at this point in the history
  • Loading branch information
LocutusOfBorg committed Apr 3, 2013
1 parent 53a3eda commit 47638bd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 346 deletions.
13 changes: 0 additions & 13 deletions man/ettercap.8.in
Original file line number Diff line number Diff line change
Expand Up @@ -855,19 +855,6 @@ Stores profiles information belonging only to remote hosts.

.TP
.B STANDARD OPTIONS
.\".TP
.\"\fB\-U\fR, \fB\-\-update\fR
.\"Connects to the ettercap website (ettercap.sf.net) and retrieve the latest
.\"databases used by ettercap.
.\".br
.\"If you want only to check if an update is available, prepend the \-z option.
.\"The order does matter: ettercap \-zU
.\".Sp
.\".B SECURITY NOTE:
.\"The updates are not signed so an attacker may poison your DNS server
.\"and force the updateNG.php to feed ettercap with fake databases.
.\"This can harm to your system since it can overwrite any file containing
.\"the string "Revision: ".


.TP
Expand Down
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ set(EC_SRC
ec_strings.c
ec_threads.c
ec_ui.c
# ec_update.c

dissectors/ec_bgp.c
dissectors/ec_cvs.c
Expand Down
10 changes: 0 additions & 10 deletions src/ec_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <ec_send.h>
#include <ec_log.h>
#include <ec_format.h>
//#include <ec_update.h>
#include <ec_mitm.h>
#include <ec_filter.h>
#include <ec_plugins.h>
Expand Down Expand Up @@ -114,7 +113,6 @@ void ec_usage(void)
fprintf(stdout, " -a, --config <config> use the alterative config file <config>\n");

fprintf(stdout, "\nStandard options:\n");
// fprintf(stdout, " -U, --update updates the databases from ettercap website\n");
fprintf(stdout, " -v, --version prints the version and exit\n");
fprintf(stdout, " -h, --help this help screen\n");

Expand All @@ -132,7 +130,6 @@ void parse_options(int argc, char **argv)
static struct option long_options[] = {
{ "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'v' },
// { "update", no_argument, NULL, 'U' },

{ "iface", required_argument, NULL, 'i' },
{ "lifaces", no_argument, NULL, 'I' },
Expand Down Expand Up @@ -402,13 +399,6 @@ void parse_options(int argc, char **argv)
GBL_CONF->file = strdup(optarg);
break;

// case 'U':
// /* load the conf for the connect timeout value */
// load_conf();
// global_update();
// /* NOT REACHED */
// break;

case 'h':
ec_usage();
break;
Expand Down
322 changes: 0 additions & 322 deletions src/ec_update.c

This file was deleted.

0 comments on commit 47638bd

Please sign in to comment.