Author Topic: Random Shellcode Snippits (discussion)  (Read 4158 times)

0 Members and 1 Guest are viewing this topic.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Random Shellcode Snippits (discussion)
« on: February 01, 2008, 11:06:23 am »
You could reduce the O of that second command by replacing md5sum * grep $i with echo $i, so it would be:
for i in `md5sum * | cut -d\   -f1 | sort | uniq -d`; do echo $i; done

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Random Shellcode Snippits (discussion)
« Reply #1 on: February 01, 2008, 12:02:48 pm »
You could reduce the O of that second command by replacing md5sum * grep $i with echo $i, so it would be:
for i in `md5sum * | cut -d\   -f1 | sort | uniq -d`; do echo $i; done
That's how I originally did it, but then you don't know which files matched. This way, you can see which files have the same md5, and the common ones are beside each other because of the sort.

Offline Ender

  • x86
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Random Shellcode Snippits (discussion)
« Reply #2 on: February 02, 2008, 04:01:04 am »
Quote
andrew@roflbirds:~$ perl -pi -e 'tr/a-mn-zA-MN-Z/n-za-mN-ZA-M/;'
newbys mom
arjolf zbz
has got it goin on
unf tbg vg tbva ba

hm, quote > code ^^
« Last Edit: February 02, 2008, 04:11:24 am by Ender »

Offline Newby

  • Moderator
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Random Shellcode Snippits (discussion)
« Reply #3 on: February 02, 2008, 10:38:08 am »
I'll post the one for converting an album from .flac to .mp3 if I get some time. It was super handy. :)
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline mynameistmp

  • Full Member
  • ***
  • Posts: 111
  • Hi! I'm new here!
    • View Profile
Re: Random Shellcode Snippits (discussion)
« Reply #4 on: February 02, 2008, 12:00:47 pm »
Quote
andrew@roflbirds:~$ perl -pi -e 'tr/a-mn-zA-MN-Z/n-za-mN-ZA-M/;'
newbys mom
arjolf zbz
has got it goin on
unf tbg vg tbva ba

hm, quote > code ^^

You can drop the -i flag because you're not editing a file in place.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Random Shellcode Snippits (discussion)
« Reply #5 on: February 02, 2008, 01:52:42 pm »
It occurs to me that I mean "shellscript" and not "shellcode".. haha

Offline Ender

  • x86
  • Hero Member
  • *****
  • Posts: 2390
    • View Profile
Re: Random Shellcode Snippits (discussion)
« Reply #6 on: February 02, 2008, 04:43:35 pm »
Quote
andrew@roflbirds:~$ perl -pi -e 'tr/a-mn-zA-MN-Z/n-za-mN-ZA-M/;'
newbys mom
arjolf zbz
has got it goin on
unf tbg vg tbva ba

hm, quote > code ^^

You can drop the -i flag because you're not editing a file in place.

I know, but I prefer to use a standard command if I can; that way I remember it better.