Skip to content

Instantly share code, notes, and snippets.

@MrSuicideParrot
Last active August 17, 2024 10:04
Show Gist options
  • Save MrSuicideParrot/18d59a2949b65cf1cb9234db8a6642c6 to your computer and use it in GitHub Desktop.
Save MrSuicideParrot/18d59a2949b65cf1cb9234db8a6642c6 to your computer and use it in GitHub Desktop.
Restart network on kali linux, after use wirless in monitor mode
#!/bin/bash
sudo service networking restart
sudo service NetworkManager restart
@PhoenixGod101
Copy link

To put your Network Card back into Managed Mode run Following Comands --> sudo ifconfig wlan0 down sudo iwconfig wlan0 mode managed sudo service NetworkManager start

How can I put those commands in a file in a list, one command per line, the just run one command in the terminal that runs all of those commands in order? So I only have to run one command to run them all. Like automating it?

@PhoenixGod101
Copy link

never mind I got chatgpt to help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment