Skip to content
Question Defense
Technical answers for technical questions
Question Defense
  • Backtrack Linux
    • Backtrack Article Request
  • HTTP ERROR
  • Kali Linux
    • Kali Linux Article Request
  • Privacy Policy
  • Tools
    • Class Of Device – Bluetooth CoD List In Binary And Hex
    • phpMyAdmin Blowfish Secret Generator
  • Documentation
    • check_postgres.pl
    • Linux Man Pages
      • insmod
      • kill
      • Logrotate
      • ls
      • lsmod
      • mail
      • modprobe
      • more
      • mysqldump
      • ntfsprogs
      • ntfsresize
      • pg_dump
      • psql
      • rmmod
      • screen
    • Monarch
      • Monarch Commands
      • Monarch Control
      • Monarch Escalations
      • Monarch Groups
      • Monarch Management of Nagios Hosts
      • Monarch Managing Nagios Contacts
      • Monarch Managing Nagios Hosts
      • Monarch Profiles
      • Monarch Services Template
      • Monarch Time Periods
      • Monarch Tools
  • Tags
  • Contact
Linkedin page opens in new windowTwitter page opens in new window
Search:
Search
  • Backtrack Linux
    • Backtrack Article Request
  • HTTP ERROR
  • Kali Linux
    • Kali Linux Article Request
  • Privacy Policy
  • Tools
    • Class Of Device – Bluetooth CoD List In Binary And Hex
    • phpMyAdmin Blowfish Secret Generator
  • Documentation
    • check_postgres.pl
    • Linux Man Pages
      • insmod
      • kill
      • Logrotate
      • ls
      • lsmod
      • mail
      • modprobe
      • more
      • mysqldump
      • ntfsprogs
      • ntfsresize
      • pg_dump
      • psql
      • rmmod
      • screen
    • Monarch
      • Monarch Commands
      • Monarch Control
      • Monarch Escalations
      • Monarch Groups
      • Monarch Management of Nagios Hosts
      • Monarch Managing Nagios Contacts
      • Monarch Managing Nagios Hosts
      • Monarch Profiles
      • Monarch Services Template
      • Monarch Time Periods
      • Monarch Tools
  • Tags
  • Contact

Blog

You are here:
  1. Home
Technology Insights

PHP Script Using Exec Function & Launched From Crontab Hogging Server Memory

InsightsBy alexSeptember 1, 2011Leave a comment

While working on a PHP script on a CentOS Linux server that runs from crontab I ran into an issue where PHP was bogging the server down because of memory use. The script has a lot of output that is not necessary to store though when using the exec function within the PHP script it…

Details
Information Security

How To Set a Root CA to Untrusted on Mac OSX

SecurityBy purehateSeptember 1, 2011Leave a comment

I decided to make a quick post on how to set a trusted root CA to untrusted in Mac OSX. As some people may or may not know, one of the root CA authorities was recently hacked and several rouge certificates were issued including one with a domain name of  .google.com. Now DigiNotar, which is…

Details
Information Security

Crack Juniper Router Passwords, Juniper Password Hash Details

SecurityBy alexAugust 30, 20111 Comment

Recently I needed to find out information about a Juniper router password which is stored as a hash in the router configuration. The tricky part is while the password hash is technically a MD5 hash it is modified to make it unique and make it harder to crack. Luckily there is a way to crack…

Details
Information Security

Crack Cisco IOS Password Hashes, Crack Cisco Type 5 & Type 7 Password Hashes

SecurityBy alexAugust 18, 20118 Comments

Cisco devices running the Cisco IOS have three types of ways to display passwords in the device configuration which include Type 0, Type 5, and Type 7. Below we describe all three methods of storing passwords in the Cisco IOS device configuration and how to obtain the password from each method either by simply reading…

Details
Code Snippets

Perl Script To Decode Cisco Type 7 Password Hash

Code SnippetsBy alexAugust 17, 20114 Comments

I spent a lot of time the other night trying to find a perl script that would decode Cisco type 7 password hashes and many of them did not work properly. At first I thought I was doing something wrong however I am pretty sure that most of the scripts were just broken. Anyhow I…

Details
Technology Insights

Install Prolific USB To Serial Adapter Drivers On OSX Lion, PL-2303 Mac Drivers

InsightsBy alexAugust 16, 20112 Comments

Tonight I needed to console into a old Cisco 2900 switch to test a couple password related items and it was the first time that I would be using  USB to Serial adapter on my Macbook. Previously there had been a lot of issues with the adapter I have, which is a PL-2303, and getting…

Details
Code Snippets

Bash Script That Deletes Directories Older Than X Days If Y Number Of Directories Exist

Code SnippetsBy alexAugust 15, 2011Leave a comment

Earlier tonight I created a little script that will run in cron on a Linux server. The script counts the number of directories and files in a specific directory and if the count is above Y then it deletes directories and files older than X number of days. In the example script below the number…

Details
Technology Insights

Replace A Single Line Of Text In Multiple Files On Mac OSX

InsightsBy alexAugust 14, 2011Leave a comment

Earlier I was transferring some configuration files from an application on a Windows 7 computer to an application on a OSX Lion computer. The location of a file referenced in the configuration files had changed so I needed to update about a hundred different INI files with the new location. Doing this on OSX is…

Details
Technology Insights

Disable Caps Lock On Macbook Keyboard, Disable Caps Lock On OSX

InsightsBy alexAugust 13, 2011Leave a comment

One key that always gets in the way for me on any keyboard I use is the caps lock key. On Windows 7 I use a third party application to disable the caps lock key as noted in this article. On Mac OSX the functionality to disable the caps lock key is built in so…

Details
1
234567891011121314151617181920212223
…2425262728…
2930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
174
Brave Browser

Download the privacy focused Brave browser!
Brave Browser

  • Browse 3x Faster!
  • Block Ads & Trackers
  • Get Rewarded For Browsing
Categories
  • Code Snippets
  • Errors
  • Insights
  • Labs
  • Security
Recent Posts
  • What Are The OWASP Top 10 Vulnerabilities? October 7, 2019
  • Improving WordPress: Security Tips October 2, 2019
  • MacOS Configure Default Mail Client September 30, 2019
Pages
  • Backtrack Linux
  • Contact
  • Documentation
  • Tags
  • Tools
Question Defense
© 2019 question-defense.com

>>> Brave Browser Tipping: Support us by downloading, installing and then tipping us with Brave! <<<
Amazon Associate Disclaimer: As an Amazon Associate we earn from qualifying purchases.

Go to Top