Searched refs:attack_def (Results 1 – 7 of 7) sorted by relevance
/dports/security/yersinia/yersinia-8c0d7c5/src/ |
H A D | ncurses-interface.c | 374 struct _attack_definition *attack_def = NULL; in ncurses_i_attack_screen() local 385 attack_def = protocols[ mode ].attack_def_list; in ncurses_i_attack_screen() 401 while( attack_def[i].desc != NULL ) in ncurses_i_attack_screen() 405 mvwprintw(attack_screen, i+2, 13, "%s", attack_def[i].desc); in ncurses_i_attack_screen() 433 if ( attack_def[j].nparams) /* Do we need parameters for attack? */ in ncurses_i_attack_screen() 441 …memcpy( attack_param, (void *)( attack_def[j].param), sizeof(struct attack_param) * attack_def[j].… in ncurses_i_attack_screen() 459 attack_free_params(attack_param, attack_def[j].nparams); in ncurses_i_attack_screen() 486 while ( attack_def[i].desc != NULL ) in ncurses_i_attack_screen() 490 mvwprintw(attack_screen, i+2, 13, "%s", attack_def[i].desc); in ncurses_i_attack_screen() 872 struct _attack_definition *attack_def = NULL; in ncurses_i_list_attacks() local [all …]
|
H A D | yersinia.c | 460 struct _attack_definition *attack_def = NULL; in doloop() local 468 attack_def = protocols[ mode ].attack_def_list ; in doloop() 472 if ( attack_def[ term_tty->attack ].nparams ) in doloop() 475 …"<*> that needs parameters and the one you've choosed needs %d <*>\n", attack_def[ term_tty->attac… in doloop() 479 …rintf("<*> Starting %s attack %s...\n", ( attack_def[ term_tty->attack ].type ) ? "DOS" : "NONDOS"… in doloop() 494 if ( attack_def[ term_tty->attack ].single == CONTINOUS ) in doloop()
|
H A D | commands.c | 1513 struct _attack_definition *attack_def = NULL; in command_proto_attacks() local 1529 attack_def = protocols[j].attack_def_list; in command_proto_attacks() 1718 struct _attack_definition *attack_def = NULL; in command_run_proto() local 1735 attack_def = protocols[proto].attack_def_list; in command_run_proto() 1737 while(attack_def[i].desc != NULL) in command_run_proto() 1778 attack_def = protocols[proto].attack_def_list; in command_run_proto() 1781 while(attack_def[i].desc != NULL) in command_run_proto() 1798 struct _attack_definition *attack_def = NULL; in command_run_attack() local 1811 attack_def = protocols[proto].attack_def_list; in command_run_attack() 1822 …memcpy( attack_param, (void *)(attack_def[aux].param), sizeof( struct attack_param ) * attack_def[… in command_run_attack() [all …]
|
H A D | gtk-callbacks.c | 372 helper->attack_def = &protocols[ helper->mode ].attack_def_list[i]; in gtk_c_attacks_radio_changed() 393 if ( helper->attack_def && helper->attack_def->nparams ) in gtk_c_attacks_launch() 401 params_ctx->nparams = helper->attack_def->nparams ; in gtk_c_attacks_launch() 407 …memcpy( params_ctx->params_list, (void *)(helper->attack_def->param), sizeof( struct attack_param … in gtk_c_attacks_launch() 474 …strncpy( params_ctx->params_list[i].print, text, params_ctx->helper->attack_def->param[i].size_pri… in gtk_c_attackparams_ok_click() 479 if ( params_ctx->helper->attack_def->param[field].type == FIELD_ENABLED_IFACE ) in gtk_c_attackparams_ok_click() 481 params_ctx->helper->attack_def->param[field].desc ); in gtk_c_attackparams_ok_click() 483 …, "Attack parameters", "Bad data on field '%s'!!", params_ctx->helper->attack_def->param[field].de… in gtk_c_attackparams_ok_click()
|
H A D | gtk-support.h | 102 struct _attack_definition *attack_def; member
|
H A D | gtk-interface.c | 929 struct _attack_definition *attack_def ; in gtk_i_create_attacksdialog() local 932 helper->attack_def = NULL ; in gtk_i_create_attacksdialog() 955 attack_def = protocols[i].attack_def_list; in gtk_i_create_attacksdialog() 991 while ( attack_def[num_attacks].desc ) in gtk_i_create_attacksdialog() 997 … attacks_vt_radio_attack[i] = gtk_radio_button_new_with_label( NULL, attack_def[j].desc ); in gtk_i_create_attacksdialog() 999 …w_with_label_from_widget( GTK_RADIO_BUTTON( attacks_vt_radio_attack[i] ), ( attack_def[j].desc ) ); in gtk_i_create_attacksdialog() 1012 if ( attack_def[j].type == DOS ) in gtk_i_create_attacksdialog() 1139 struct _attack_definition *attack_def ; in gtk_i_create_listattacksdialog() local 1170 attack_def = protocols[i].attack_def_list; in gtk_i_create_listattacksdialog() 1184 label = gtk_label_new( attack_def[ node->protocol[ i ].attacks[ j ].attack ].desc ); in gtk_i_create_listattacksdialog()
|
H A D | parser.c | 406 parser_command2index(register const struct _attack_definition *attack_def, register int8_t v) in parser_command2index() argument 410 while ( attack_def->desc != NULL ) in parser_command2index() 412 if ( attack_def->v == v ) in parser_command2index() 414 ++attack_def; in parser_command2index()
|