Refactor VenomAge: fix bugs, add error handling, input validation, an…#1
Open
batukapicioglu wants to merge 1 commit intomainfrom
Open
Refactor VenomAge: fix bugs, add error handling, input validation, an…#1batukapicioglu wants to merge 1 commit intomainfrom
batukapicioglu wants to merge 1 commit intomainfrom
Conversation
…d UX improvements - Fix duplicate if/elif conditions (elif never executed) in inter() and inter1() - Fix duplicate netmask condition in ipchan() (second 255.255.255.0 check) - Remove unused `mac` variable in inter1(); fix trailing spaces in MAC list - Fix typo "Rondom" -> "Random" in labels and button text - Add root permission check at startup with clear error message - Add validate_mac() and validate_ip() helper functions with regex - Add generate_random_mac() that generates IEEE-compliant random MACs - Add get_current_mac() and get_current_ip() to display current values - Replace deprecated subprocess.call() with subprocess.run() + return code checks - Wrap all subprocess calls in try-except for proper error reporting - Replace tk.Tk() destroy/recreate anti-pattern with tk.Toplevel + form.withdraw() - Replace Entry fields with ttk.Combobox populated from /sys/class/net/ for interfaces - Add confirmation dialogs before applying network changes - Show current MAC/IP address on interface selection https://claude.ai/code/session_01UpnSPPaUbbJVuSXB9g4EPL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…d UX improvements
macvariable in inter1(); fix trailing spaces in MAC list