News:

Facebook killed the radio star. And by radio star, I mean the premise of distributed forums around the internet. And that got got by Instagram/SnapChat. And that got got by TikTok. Where the fuck is the internet we once knew?

Main Menu

Random Shellcode Snippits (discussion)

Started by Camel, February 01, 2008, 11:06:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Camel

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!

iago

Quote from: Camel 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
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.

Ender

#2
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 ^^

Newby

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

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
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. 

mynameistmp

Quote from: Ender 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 ^^

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

iago

It occurs to me that I mean "shellscript" and not "shellcode".. haha

Ender

Quote from: mynameistmp on February 02, 2008, 12:00:47 PM
Quote from: Ender 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 ^^

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.