Cracking HALFLM

Cатсн²² (in)sесuяitу / ChrisJohnRiley

I was recently reading through Chris Gates post on capturing and cracking HALFLM hashes with Metasploit and thought I’d give it a quick run through. (I won’t be rehashing what Chris already covered here, so I suggest you pop over to his blog for a quick coverage of HALFLM and the rainbowtable cracking method).

Until I read the post I’d been using the SMB_relay attack to load up a meterpreter shell onto the remote target, but seeing as Microsoft have finally decided this is a bug worth patching, it’s time to move on to other attack vectors. SMB_relay will still be a good attack vector for some attacks, but the patch against reflective relays means it’s not going to always be available.

msfAll was going well with the walkthrough, I’d captured the hash from the target machine and had the HALFLM tables downloaded (halflmchall _alphanumeric #1-7_x_2400_ 1122334455667788). So…

View original post 307 more words

main(int argc, char *argv[])

Being a coder is a bitter sweet job. One tends to get intertwined in alot of stuff. Writing of the code is never an easy option if you are not upto date with any particular function or have NOT read things properly. I have been a weakling in the coding domain for some time but I wish to change it.

Learning new things is without doubt essential but refreshing the old arguments and functions used in building any program is also an essential thing.For eg: main(int argc, char *argv[])

I must say that it was there when I studied in my grad school but I did not pay due attention to it. Naturally I suffered. I have now made plan to keep blogging about the stuff which I learn in my coding reinvention days.
Now main(int argc, char *argv[]) is a coomand line argument.

The integer, argc is the argument count. It is the number of arguments passed into the program from the command line, including the name of the program.

The integer , argv is the argument vector.Since argv is a pointer to an array of pointers, we can manipulate the pointer rather than index the array.

When we compile the above command, it occurs in following ways.

D:\prog\test> a Hello world!
The name used to start the program: a
Arguments are:
1: Hello
2: world!

D:\prog\test> cd ..

D:\prog> test\a.exe “Peter Piper” picked a peck of “pickled peppers”
The name used to start the program: test\a.exe
Arguments are:
1: Peter Piper
2: picked
3: a
4: peck
5: of
6: pickled peppers


When a program starts, the arguments to main will have been initialized to meet the following conditions,this is done so that program runs fine.

  • argc is greater than zero.
  • argv[argc] is a null pointer.
  • argv[0] through to argv[argc-1] are pointers to strings whose meaning will be determined by the program.
  • argv[0] will be a string containing the program’s name or a null string if that is not available. Remaining elements of argv represent the arguments supplied to the program. In cases where there is only support for single-case characters, the contents of these strings will be supplied to the program in lower-case.


Walmart builds its own shopping search engine


Walmart (s wmt) is deploying a new internally-built search engine to power and ultimately increase sales conversions from searches. The Polaris search engine, developed by @WalmartLabs over the last 10 months, has been in use for the last few months on and has already boosted conversions to sales by 10-15 percent, the company said.

Polaris grew out of the semantic technology brought over through Walmart’s acquisition last year of Kosmix, including Kosmix’s social genome project, which connects people to places, events and products. While Kosmix founders Venky Harinarayan and Anand Rajaraman, who led the newly established @WalmartLabs, have moved on, Walmart is making good use of their technology.

Now, when users search on, they don’t just get a page full of results. For certain searches, they will get directed to a topic page that features specials and curated items as well as traditional search results. The searches are…

View original post 324 more words

The Tech Blog

For long I had thought of writing a Tech blog and now I wish to start one. It will deal with and address those Tech topics which got my attention and fascinated me.