OffBy0x01/usbskeletonkey

Interface Issues Encountered

yeroc-sebrof opened this issue · 4 comments

I turned them off why do they still show up

____ _ _ ____ _ ____ ___ ____ _ _ _ _ ____ _ _
[__ |/ |__ | |___ | | | |\ | |/ |__ _/
_] | _ |_ |___ |___ | || | | | _ |_ |

1 Responder
2 Enumerate
3 KeyInject
4 Storage
5 Testing

Enter 0 to exit
Please enter the module you would like to configure. (Based on index)1
Entering Configuration mode
Enter 'exit' to finish.

>set enabled false
Value changed
Exiting Module setter...
Enter 'exit' to finish.

>save
Confirm action: (Y/N)
WARNING: Any unsaved changes will be lost on exit
>y
Saving...
Helper/ModuleManager: option: enabled : false
Helper/ModuleManager: option: ttl : 60
Helper/ModuleManager: Saved module options
Enter 'exit' to finish.

>exit
Exiting Configuration mode...
____ _ _ ____ _ ____ ___ ____ _ _ _ _ ____ _ _
[__ |/ |__ | |___ | | | |\ | |/ |__ _/
_] | _ |_ |___ |___ | || | | | _ |_ |

1 Responder
2 Enumerate
3 KeyInject
4 Storage
5 Testing

Enter 0 to exit
Please enter the module you would like to configure. (Based on index)2
Entering Configuration mode
Enter 'exit' to finish.

>set enabled false
Value changed
Exiting Module setter...
Enter 'exit' to finish.

>save
Confirm action: (Y/N)
WARNING: Any unsaved changes will be lost on exit
>y
Saving...
Helper/ModuleManager: option: rcolor : 255
Helper/ModuleManager: option: bcolor : 0
Helper/ModuleManager: option: port_targets : 23-50
Helper/ModuleManager: option: ttl : 60
Helper/ModuleManager: option: interface : usb0
Helper/ModuleManager: option: port_exclusions : 22
Helper/ModuleManager: option: use_port_range : true
Helper/ModuleManager: option: enabled : false
Helper/ModuleManager: option: gcolor : 0
Helper/ModuleManager: option: quiet : true
Helper/ModuleManager: option: ip_targets : 127.0.0.1
Helper/ModuleManager: option: ip_exclusions : 192.168.3.1
Helper/ModuleManager: option: verbose : false
Helper/ModuleManager: Saved module options
Enter 'exit' to finish.

>order
Current module order
0 Responder
1 Enumerate
Change module order? (Y/N)

Also Storage is pulling options from other modules and I dont think its Storages problem

>show option
Options: {'script': 'test.txt', 'bcolor': '0', 'port_targets': '23-50', 'ttl': '60', 'interface': 'usb0', 'file_path': '/modules/Storage/', 'file_name': 'StorageTest.img', 'enabled': 'true', 'ip_targets': '127.0.0.1', 'ip_exclusions': '192.168.3.1', 'verbose': 'false', 'rcolor': '255', 'wait': '45', 'port_exclusions': '22', 'use_port_range': 'true', 'gcolor': '0', 'quiet': 'true', 'read_only': 'false'}
Enter 'exit' to finish.

After going through all the modules and attempting to change the order it crashed

>order
Current module order
0 Responder
1 Enumerate
2 KeyInject
3 Storage
4 Testing
Traceback (most recent call last):
File "./skeleton-key.py", line 477, in
begin.module_configuration(selection)
File "./skeleton-key.py", line 385, in module_configuration
self.edit_module_order_question(user_choice)
File "./skeleton-key.py", line 316, in edit_module_order_question
module = self.module_manager.module_list[x]
IndexError: list index out of range

Cant make Order show after initial show without calling another order which is obv not ideal
Nevermind I had exited it without asking it to

Resolved in merge with Development