My Friends: kittie, david
My Blogs Previous Page Next Page

david Mentioned: News From You on Daily Tech News Show - Aug. 27, 2014 - Subscribe
Today I was mentioned on the Daily Tech News Show podcast for August 27, 2014. I submitted a press release regarding Seagate is now shipping an 8 TB 3.5-inch hard drive with a SATA 6 gigabit-per-second interface.

I really enjoy this show, and not all the links I submit to the show are read or mentioned, but I really enjoy sharing content with the masses as you know by all my entries. happy.gif

Click here to skip to the mention (4:25) in the show

...and yes Dan Patterson |, you said my name correctly. Thanks!

Mood: good
Music: No music

david Apache Web Server Crashes on High Load Aug 24th, 2014 10:31:54 pm - Subscribe
Need to send traffic to your Apache Web Server, in hopes that you will not bring it down by HTTP or ICMP request? Well read on.

Well this is unique entry, recently a friend and I we're bench testing a couple servers on different nodes using the Apache Benchmark Tool. In our findings we noticed that 2 of the domains that we tested feel to they're knees due to memory issues. Now then, in no way do I condemn black hat conduct but sometimes the only way to protect your OWN servers is to use penetration testing tools to stress the server.

Now, there is a plethora of software that can do this locally on the server or for remote usage, but for this entry I will refrain from that.

I recommend that you take a look at my friends blog on how to protect yourself from an EVASION of traffic.

External links

* thanks JV for the initial remote PT.
Mood: good
Music: No Music

david How to OCR a PDF File Using Acrobat Pro Aug 24th, 2014 8:03:42 pm - Subscribe
I receive a lot of PDF files in fact many more PDF files than word documents now a days. Now a day's being able to search a PDF file or perhaps a PDF file that was created into a doc file can same you time. Here are a few steps that you can do to OCR your PDF so that it can be easily searchable.
OCR PDF File in Acrobat Pro

  • Begin by opening up a PDF file.
  • Click on Tools located on the right side of the PDF.
  • Now click on the arrow that says Recognize Text.
  • In the list click on In This File.
  • When the menu comes up click on All Pages
  • Now click OK.

    Now you should be able to do a CTRL+F to find words with in the document.
    Mood: good
    Music: Reggie and the Full Effect - G

    david Useful Linux Links for 2014-08-22 Aug 22nd, 2014 5:54:30 pm - Subscribe
    Useful Linux Links for 2014-08-22 - Below are links that I used in a given day that helped me with my goal in Linux System Administration.

  • AirPort Utility 5.6.1 for Windows | mac
  • OPTIMIZE TABLE Syntax | sysadmin
  • 8 commands to check cpu information on Linux | sysadmin
  • How to disable SSH timeout | sysadmin
  • Always Run as Root | humor
    Mood: good
    Music: No Music

    david San Antonio Google Photo Sphere Aug 21st, 2014 7:41:22 pm - Subscribe
    This evening I gave Google Photo Sphere a try at the pool where I live. I also captured the court yard but figured the pool area would have a better view.

    Google Photo Sphere is 360-degree panorama software that is available for Android and iOS, you can find the application in the respected app store. Personally I though the software was really nice and it was very easy to use, let's call the process "circling the dots". Simply rotate in a circle circling the dots, and then viola your done!

    Views: San Antonio, TX by David Polanco

    Just a reminder, stay away from tight quarters. Photo Sphere does a much better job in an open environment.

    External Links
  • Photo Sphere for iOS
  • Photo Sphere for Android
    Mood: tired
    Music: Reggie and the Full Effect - E

    david Useful Linux Links: 2014-08-20 Aug 20th, 2014 6:19:45 pm - Subscribe
    Useful Linux Links for 2014-08-20 - Below are links that I used used in a given day in helping me with my Linux System Administration.
  • VMware Certification Roadmap | edu
  • MailServer - Raspberry Pi as an Email Server | sysadmin
  • Setting up an Ubuntu System as an Email Server | sysadmin
  • Postfix - Community Help Wiki | sysadmin
    Mood: good

    david Google Domains Beta - Invitation Received Aug 19th, 2014 10:44:45 pm - Subscribe
    This afternoon like many others in my Google+ Network we received our Google Domains Invitation from the Google Domains Team.

    Google Domains Invite Only Beta Logo

    Though at the time I was happy and very interested in the program, I did notice that the price per domain would cost me an extra $2.00, now then an extra $2.00 may be nothing you say...but my partner and I have well over 20 or so domains. So I think for now we will stick to

    Here is the notice I received from Google Domains:

    You requested to join the Google Domains invite-only beta and today we’re excited to offer you an invitation to join.

    As you begin to buy, transfer and manage your domains with us or if you try out one of our website building providers, we would love to hear what you think. We welcome all questions and feedback.

    Follow the directions to get started:
    Click the button below to launch Google Domains.

    Enter your unique invitation code: xxxx xxxx xxxx xxxx xxxx
    Please note that our current beta is U.S. only.

    Get Started

    All the best,
    The Google Domains team

    So there you have it, the interface when using the system is very simple and easy, but I am trying to find the added benefit to the service. I am very pleased with Hover and they're simple no BS domain name registration but I am not loyal to any domain name registration service. What are your thoughts?
    Mood: tired
    Music: No music

    david Useful Linux Links: 2014-08-18 Aug 18th, 2014 11:06:08 pm - Subscribe
    This small list was originally created last week 2014-08-08, but I am barely getting to posting them. For those of you that use fail2ban being able to block an IP is easy, but unblocking can be a different matter if you have never done so before. If you have questions leave a comment.

  • CentOS Linux: Stop Monitor From Going to Sleep Using, Turn Off Powersave | sysadmin
  • Primer on reading Michael Jang's Red Hat Linux Certification Study Guide | edu
  • How to manually unban ip blocked by fail2ban | sysadmin
    Mood: tired

    david Belkin WeMo Hacking Using Linux Aug 18th, 2014 11:00:52 pm - Subscribe
    This weekend if I have time I plan on hacking one of my 2 WeMo's. If you have never heard of a WeMo take a look here, it basically allows you to control your homes electronics by turning them off & on.

  • Turning the Belkin WeMo into a deathtrap | hack
  • Things I Know about the WeMo boxes | hack
  • Belkin WeMo remote shell and rapid state change exploit | hack
  • Shell Script To Control Belkin WeMo’s | hack
    Mood: good

    david The Java Life Rap Music Video Aug 15th, 2014 11:04:22 am - Subscribe
    Mood: feisty

    david Useful Linux Links: 2014-08-08 Aug 9th, 2014 1:34:59 am - Subscribe
    Useful Linux Links for 2014-08-08 - Below are links that I used used in a given day in helping me with my Linux System Administration.
  • Cracking SSH with Hydra on Metasploitable in Kali Linux | sec
  • Hacking a Remote Server using Hydra via SSH Dictionary Attack | sec
  • Using Hydra to dictionary-attack web-based login forms | sec
  • Fix Broken Sudo | sysadmin
    Mood: independent
    Music: No music

    david Useful Linux Links: 2014-08-07 Aug 7th, 2014 10:28:29 pm - Subscribe
    Useful Linux Links for 2014-08-07 - Below are links that I used used in a given day in helping me with my Linux System Administration.

  • Linux: Log Everyone Out Of The System | sysadmin
  • In Linux shell, how to delete all files in a directory except one or two | sysadmin
  • Ubuntu ssh: connect to host localhost port 22: Connection refused | sysadmin
  • SSH port will not change | sysadmin
  • How we turn $199 Chromebooks into Ubuntu-based code learning machines for kids | education
  • Installing Tails Live Linux Operating System For Preserving Privacy and Anonymity On The Net | privacy
    Mood: good

    david Linux: Could Not Update .ICEauthority file Aug 3rd, 2014 12:24:01 am - Subscribe
    Below are the steps I took to troubleshoot my creation of the user: david and how I fixed the in ability to update the .ICEauthority file in /home/david/.ICEauthority

    * Be sure you replace all instances with david with your username

    Step by Step:
    1. Begin by logging into root

    2. Locate the home directory of the user that you wish fix. Example: cd /home/david

    3. In some instances you may need to create the user directory as I had to. To do so, in the home directory type in mkdir david

    4. Once the directory is created type in the following so that we can ensure that the user has ownership of the directory. chown david: david .ICEauthority

    5. Logout as root

    6. Login as your username

    7. Success!
    Mood: Tired
    Music: No music

    david Linux: How to Disable the GUI in CentOS Jul 8th, 2014 8:04:29 pm - Subscribe
    This entry explains how to enable / disable to the graphical user interface (GUI) in CentOS by modifying the inittab file. If you are a hard code command line user disabling the GUI will give the added benefit of save resources, and we LOVE saving resources on our servers.

    Begin by opening up the command line and doing the following. (I will assume you know how to open up the command line, but if not it can be found on your gnome, kdm, xdm dock.

    Step 1: In the command line type:
    vi /etc/inittab

    Step 2: Now find the line that states:

    Step 3:Now simply press i (to insert text, then change the id:5:initdefault: to the following:

    Step 4: Once this is complete press the colon, and type wq! (This will commit the change.)

    So what is going on here is that we are modifying the inittab file and telling CentOS to default the multiuser user mode. Doing so will now disable the GUI from CentOS, and now present to command line from now on.

    As always if you have questions, leave a comment. happy.gif
    Mood: good
    Music: No music

    david Linux: How to Move All Content in One Directory to Another Jul 7th, 2014 7:09:16 pm - Subscribe
    This entry explains how to move all content from one directory to another directory with out copying the original directory itself.

    Step 1: In this example I will begin by getting a file from the web. In the command prompt type:


    Step 2: I will begin the extraction process, since the file is in a tar ball, we need to extract the contents. In the command prompt type:

    tar -xf file.tar.gz

    Step 3: Finally, we will move the extracted directories contents 'mydir' to the path that we wish the files to be moved to.

    mv mydir/* /home/david/mynewdir

    I know this is a 101 tip, but it never hurts to reflect on your command line beginnings. If you have questions leave a comment.
    Mood: happy

    david How to Rename File Extensions & Variables in Linux Jun 16th, 2014 5:37:30 pm - Subscribe
    This entry explains how to rename files extensions & variables in Linux.

    Currently I have a web server running CentOS. Recently I came across a ton of files in various directories with a file extension .html which needed to be renamed to .php. (I configured .htaccess to not be allowed on the server)

    Rename File Extensions in Linux

    Things you will need:
  • Terminal
  • Vi

    First you will need to do is open up terminal and navigate to the parent directory in which all of your files with the file extensions that you would like to change are located. Once at this location run the code that I have provided for you below. What this will do is find and rename all files with the extension .html to .php regardless of the name of the file. So you will be responsible for modifying my .html and .php to the extensions that suit your change.

    find . -depth -name "*.html" -exec sh -c 'mv "$1" "${1%.html}.php"' _ {} \;

    Now then, if you would like to specify the path and NOT have to navigate to the path, simply change the /var/www/html/mydir in the line below to the path with the files with the extensions that need to be renamed. Also be sure that you change my .html and .php to the extensions that suit you!

    find /var/www/html/mydir -depth -name "*.html" -exec sh -c 'mv "$1" "${1%.html}.php"' _ {} \;

    No need to contine below if this completes your needs:

    Now that we have all of our file extensions changed from .html to .php in the current directory and subdirectories all we need to do is rename the contents in our index.php formelly index.html. If we we're to view index.php in our browser we would have a bunch of links pointing to .html files, but since we renamed them the links now 404. sad.gif

    Well let's update those links! Open index.php (or whatever your index is) in vi, and enter the following:

    :%s/.html .php

    This will now update all .html extension to .php that are found inside of the file index.php. Keep in mind that many of you will not have to do this, and your renaming stopped after step one in this entry.

    Well, I hope this helped you with the pain staking task of renaming files on your linux machine. Yes, I do know that my instructions can be hard to follow if you are a beginner to the linux system. But when I have time, I promise to create a video that will demonstrate everything that I have explained above.

    As always if you have any questions leave a comment, I promise to assist you in any way I can.
    Mood: good
    Music: No Music

    david Mentioned in the Headlines on Daily Tech News Show Jun 5th, 2014 1:28:54 pm - Subscribe
    Cool, I got mentioned on The Daily Tech News Show with Tom Merritt & Guests yesterday morning. Daily Tech News Show is a audio podcast that scour the web for the most important tech news to share with you.

    Video playback below. 1 min 52 sec:

    I submitted an article regarding Google releasing source code Tuesday for a Chrome extension called “End to End” that would provide OpenPGP encryption for messages within a browser.

    You can read more about the day's show at: DTNS 2249 – BUFFER BATTLES
    Mood: happy
    Music: No music

    david CompTia Security+ Certified Jun 4th, 2014 8:50:24 pm - Subscribe
    Just an late update on my progression with my certifications.

    Security+ CE Certified

    Good afternoon everyone, sorry for not positing this sooner I know a few of you were wondering where I am at with my certifications so here's the update.

    As your already aware I became Network+ Certified back in January, and now I am Security+ Certified as of this past March. This was an elective certification for me, but I am glad I took it! Some thing's that I took out of it we're preventive measures from a network & server stand point which are invaluable for someone that is in my field.

    CompTia Security+ covered some of the following:

    1. Intrusion Prevention Systems (IPS)
    2. Intrusion Detection Systems (IDS)
    3. Kerbos & Radius Servers
    4. Subnetting
    5. 802.11x
    6. IPV4 / IPV6 / DNS
    7. Man in the Middle Attacks
    8. Input Validation
    9. LDAP Injections
    10. Secure Protocols & more!

    I took this exam because I felt that the knowledge I got from it would be invaluable for me as a sys admin level later down the line. With everything being cracked / hacked / spoofed / injected nowadays I would recommend studying and giving the exam a shot. My Network+ knowledge really helped in my success on it, but it is not required.

    Security+ Study resources I used:
    1. CompTIA Security+ Deluxe Study Guide Recommended Courseware: Exam SY0-301
    2. CompTia SY0-301 Security+ Terms & Definitions (excuse my mess)
    3. Darril Gibson's - Get Certified and Get Ahead (Must get, has practice tests!)
    4. Finally being a self taught student I also used (and continue to use) - CompTIA Security+ (SY0-301)

    Final thoughts:
    My recommendation is if you plan on taking the exam, get familiar on how questions are asked. Sometimes all the questions are right, but there is a better answer among them. Darril Gibson, well train you on this and will give you reasons why your answer is wrong. (Very helpful)

    Questions? Leave them below, I am happy to help. happy.gif
    Mood: busy

    david How to Enable Multiple Terminal Screen Sessions in Linux May 25th, 2014 10:44:23 pm - Subscribe
    Want to run multiple screen sessions in one terminal window? Well here is how you do it with this nice little unix command.

    Keep in mind, that you must be running Linux. I only say this to avoid questions regarding terminal emulators like putty & xshell.

    Horizontally Split the Terminal Screen

    1. Open Terminal
    2. Type Screen
    3. Press Enter
    4. Then type CTRL & A
    5. Then SHIFT S

    You will notice that your terminal windows how has 2 screens with 2 separate sessions!

    To then tab between the 2 horizontally split terminal window now do the following.

    Tab between the 2 screens

    1. Press CTRL & A
    2. Then Press Tab

    This will allow you to tab between the 2 split terminal sessions. Now then if you are on a Debian based system you can extend the horizontally spit screen to vertical by doing the following:

    1. Type screen (if you haven't done so)
    2. CTRL & A
    3. SHIFT & |\

    Then to tab between the two follow the tab instructions above. If your a sys admin this can be a handy tool that will enable you to multitask while still administering multiple sessions.

    How to exit screen terminal sessions

    To exit the terminal screen session simply press exit, this will immediately terminate the screen session and bring you back to the native terminal screen.

    If you have any questions or comments leave them below, in the mean time continue learning your Linux options and get get lazy by working smarter, not harder.
    Mood: good
    Music: No music

    david Lost Disk Space on Linux Due to Stop Command May 9th, 2014 6:08:15 pm - Subscribe
    Lost Disk Space on Linux Due to Stop Command - Entry explains how I lost my disk space on my Linux CentOS Server by stopping a tar file in process.

    AS I usually do, I create backups on my websites periodically on my webserver. I usually create these backups as yyyy-mm-dd-www.tar.gz well let me just say, be sure to check your allocated disk space before you begin a backup on the machine you are on. Or perhaps mnt another device and off load the file to that, then proceed with your back up strategy.

    Well here is the issue. As my file was being tar'ed I forgot to check if I had enough disk for the file. Not knowing, I stopped / interrupted the file with a CTRL+C. I then proceeded to check my disk with a $df -ah. I was right! I had utilized 91% of my storage, and only had 4.2 gb's remaining. I proceeded to remove the file with a rm -rf yyyy-mm-dd-www.tar.gz but no reflection of my disk. Still 91% of my storage, and 4.2 gb remaining. Yikes!

    The way I solved this was by starting with a few commands.

    1. $sync
    2. $lsof +L1
    3. Find the PID of TAR
    4. kill -9 PID

    Once I had done this the issue was fixed! lsof is list of open files, and +L1 will select open files that have been unlinked. From there I simply found my tar files process id, then executed the kill command.

    Thanks to my bud Jim for the assistance. If you have questions, leave a comment! Sorry for the lack of enthusiasm on this entry. It's my second time typing it up. happy.gif
    Mood: good
    Music: Reggie and the Full Effect - Merry Sexmas (feat. Fluxuation)