cut can be used to pull out parts of a file. You can use many different options on how to parse it out. You can do it by character or by delimeter and more. For example would cut with the first field, as identified by the delimeter of a space.
Helpful Blog Sites
The following are some sites that I have stumbled upon that have some good information: http://robwillis.info/ http://rickardnobel.se/
Security Onion – Out of Space
Running an instance of Security Onion, that originally started as the 14.05 version, but has been getting updates throught “sudo soup”. After running several months, I started to only have PCAPs for a couple of days, then only for 2 days, then for only the current day, then only for a short period before current…
Adding code to Blog Post
I switched my hosting provider recently, and lost the ability to easily post code into my blog posts. I came across this page https://en.support.wordpress.com/code/posting-source-code/ and added this plugin to my new site and love it. It’s added a lot of flexibility and formatting tools to help me post my thoughts!
View Wireless Password Via Powershell
will list all the profiles and then run to get info, including the password stored in the “Key Content” section of security settings. It also has a number of other interesting items to be found here. However it will NOT show the password for an SSID using Radius. The following is an example output:
Batch Delete Files with Powershell
Had to delete a bunch of old files sitting in a directory, with files going back to 2013. Running returned there were 165,880 files in there. This many files makes it difficult to use explorer to sort and delete, so powershell is where I turned. Running showed me I had files going all the way…
Watchguard SSLVPN Connections
When looking for what person was assigned an IP via Watchguard over the SSLVPN connection, search for the EXACT match of “assigned virtual IP” in the Event section of Log search and you will get back all of those that got an IP. An example is: 2019-02-20 13:13:29 FWStatus, SSL VPN user user1@mydomain.local from 181.91.32.0…
User Shell
At some point you may need to check and/or change the shell a user is using. A good summary of information on this is at https://www.thegeekdiary.com/centos-rhel-how-to-change-the-login-shell-of-the-user/