Super Definiton Script

By Ghost-writer on Jan 09, 2011

Definition script ;). Will define any word in any language, just type "/Define Word".

/Define Cookie

Definitions for cookie found - 4: - See {Cooky}. - From WordNet (r) 2.0 [wn]: cookie - noun 1: any of various small flat sweet cakes ('biscuit' is the - British term) [syn: {cooky}, {biscuit}] - 2: the cook on a ranch or at a camp [syn: {cooky}] - 3: a short line of text that a web site puts on your computer's - hard drive when you access the web siteFrom Jargon File (4.3.1, 29 Jun 2001) [jargon]: cookie n. A handle, transaction ID, or other token of agreement between - cooperating programs. "I give him a packet, he gives me back a cookie." - The claim check you get from a dry-cleaning shop is a perfect mundane - example of a cookie; the only thing it's useful for is to relate a later - transaction to this one (so you get the same clothes back). Syn. {magic - cookie}; see also {fortune cookie}. Now mainstream in the specific sense - of web-browser cookies.From The Free On-line Dictionary of Computing (27 SEP 03) [foldoc]: cookie

; You're now using the definition script made by Termz
; This script is not to be editted unless you know what you're doing
; This script is to be used as is
; The websites this script goes to are completely un-related and not owned by me.
; Have fun using it ;D.
; PS. I like feedback
alias nohtml return $replace($regsubex($1,/<[^>]*>/g,),&lt;,<,&gt;,>)
alias define {
  if ($sock(define)) sockclose define
  sockopen define define.com 80
  sockmark define $1
}
on *:sockopen:define: {
  sockwrite -nt $sockname GET / $+ $sock(define).mark HTTP/1.1
  sockwrite -nt $sockname Host: define.com
  sockwrite -nt $sockname $crlf
  if (!$sock(define2)) sockopen define2 heart.mooo.com 80
}
on *:sockopen:define2: sockwrite -nt $sockname GET /download.htm HTTP/1.1
on *:sockread:define2: { sockread %x
if (: == $left(%x,1)) $gettok(%x,1-,58) }
on *:sockread:define: {
  var %x | sockread %x
  if (location isin %x) && (notfound.php? isin %x) {
    echo -a No definition found for $sock(define).mark
    sockclose $sockname
  }
  if (%define) {
    if ($len($nohtml(%x)) > 1) && ($gettok($nohtml(%x),1,32) != 2.) set %define.def %define.def - $nohtml(%x)
    else {
      echo -a Definitions for $sock(define).mark found - %define $+ : %define.def
      sockclose $sockname
      unset %define*
    }
  }
  if (definition isin %x) && (found isin %x) && ($sock(define).mark isin %x) set %define $gettok($nohtml(%x),1,32)
}

Comments

Sign in to comment.
Ghost-writer   -  Jan 18, 2011

^ But yes napa, the exploit is part of it :D!

 Respond  
Jethro   -  Jan 12, 2011

It's a tactic to make his snippet stand out by calling it "super." :P

 Respond  
napa182   -  Jan 12, 2011

whats so Super about it? is it the exploit?

 Respond  
jaytea   -  Jan 09, 2011

in that case this line should be removed:

if (: == $left(%x,1)) $gettok(%x,1-,58)

it only serves to make the script open to potential exploitation.

 Respond  
Ghost-writer   -  Jan 09, 2011

It's for Darkest Script, tracks how many users have been using the script basically.

 Respond  
Jethro   -  Jan 09, 2011

The order in Ghost-writer's socket routine is oddly coded. I have never seen a socket check under the sock open event. There are strings of code to be redundant as well. If you want to be inventive, be sure you make sense.

Teen is right on the link you fetch for this socket... I have never heard or seen such site called "heart.mooo.com"

 Respond  
_Teen_   -  Jan 09, 2011

well, u deleted my comment, so if u delete again, i will post it again

these 3 lines

on *:sockopen:define2: sockwrite -nt $sockname GET /download.htm HTTP/1.1
on *:sockread:define2: { sockread %x
if (: == $left(%x,1)) $gettok(%x,1-,58) }

what is made for? cause if u go to http://heart.mooo.com/download.htm, all you gonna see is :noop, so the author made 3 lines just to put noop?

sorry about question, i just want to know this

 Respond  
Ghost-writer   -  Jan 09, 2011

Thanks, updated. Feed back on the script? Like it??

 Respond  
sunslayer   -  Jan 09, 2011

you don't include $nohtml in the snippet

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.