Obfuscater Challenge#1: Hello World!

Making a meal of the simple.

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

43 Replies - 16783 Views - Last Post: 04 December 2011 - 01:40 PM

#31 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: Obfuscater Challenge#1: Hello World!

Posted 11 January 2011 - 07:28 AM

View PostLetMeFinclOut, on 10 January 2011 - 11:46 PM, said:

View PostDogstopper, on 10 January 2011 - 10:03 AM, said:

atraub, looks like you had far too much fun. :P

Too much fun, indeed.

And +1 for the XKCD reference.


Haha that XKCD comic is my wallpaper at work... I had hoped someone would catch it.
Was This Post Helpful? 0
  • +
  • -

#32 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2538
  • View blog
  • Posts: 4,641
  • Joined: 24-September 10

Re: Obfuscater Challenge#1: Hello World!

Posted 01 March 2011 - 12:44 PM

so when's the next one AdamSpeight?
Was This Post Helpful? 0
  • +
  • -

#33 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2270
  • View blog
  • Posts: 9,496
  • Joined: 29-May 08

Re: Obfuscater Challenge#1: Hello World!

Posted 01 March 2011 - 02:27 PM

View Postlordofduct, on 01 March 2011 - 08:44 PM, said:

so when's the next one AdamSpeight?


There is a new challenge on the way.
Was This Post Helpful? 0
  • +
  • -

#34 Psyguy  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 75
  • View blog
  • Posts: 323
  • Joined: 12-January 11

Re: Obfuscater Challenge#1: Hello World!

Posted 28 September 2011 - 01:19 PM

It was pretty unreadable to me...and I wrote it!

Spoiler


EDIT: Ok, well, I misread the instructions, but it was fun nonetheless.

This post has been edited by Psyguy: 28 September 2011 - 01:24 PM

Was This Post Helpful? 1
  • +
  • -

#35 Psyguy  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 75
  • View blog
  • Posts: 323
  • Joined: 12-January 11

Re: Obfuscater Challenge#1: Hello World!

Posted 30 September 2011 - 10:00 AM

You could always use this as the next challenge :)

The ever popular "?? Bottles of Beer on the wall challenge"
Was This Post Helpful? 0
  • +
  • -

#36 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2270
  • View blog
  • Posts: 9,496
  • Joined: 29-May 08

Re: Obfuscater Challenge#1: Hello World!

Posted 30 September 2011 - 10:41 AM

Psyguy: I'll think I may just prepare that one today. So it's ready.
Was This Post Helpful? 0
  • +
  • -

#37 ranthi  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 20
  • Joined: 28-November 11

Re: Obfuscater Challenge#1: Hello World!

Posted 01 December 2011 - 07:57 PM

here is my two cents..not complicated but works

Module Module1

    Sub Main()
        Dim sVal As Object = "ӄ"
        Console.WriteLine("unobfuscated: " & unobfus(sVal))
        Console.WriteLine("obfuscated: " & obfus(unobfus(sVal)))
        Stop
    End Sub

    Function obfus(ByVal sInput As Object) As String
        Dim sRet As String = ""
        For i As Integer = 0 To sInput.Length - 1
            sRet = sRet & Chr(Asc(sInput.Substring(i, 1)) + 100)
        Next
        Return sRet
    End Function

    Function unobfus(ByVal sInput As Object) As String
        Dim sRet As String = ""
        For i As Integer = 0 To sInput.Length - 1
            sRet = sRet & Chr(Asc(sInput.Substring(i, 1)) - 100)
        Next
        Return sRet
    End Function
End Module


Was This Post Helpful? 0
  • +
  • -

#38 ranthi  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 20
  • Joined: 28-November 11

Re: Obfuscater Challenge#1: Hello World!

Posted 01 December 2011 - 09:00 PM

in the spirit of the challenge right?

Module Module1
    Sub Main()
        Dim sVal As Object = "ӄ"
        Array.ForEach(sVal.ToString().ToArray(), Sub(c) Console.WriteLine(Chr(Asc(c) - 100)))
    End Sub
End Module

Was This Post Helpful? 1
  • +
  • -

#39 dawmail333  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 27
  • View blog
  • Posts: 174
  • Joined: 02-July 07

Re: Obfuscater Challenge#1: Hello World!

Posted 01 December 2011 - 09:24 PM

View Postranthi, on 02 December 2011 - 02:00 PM, said:

in the spirit of the challenge right?

Module Module1
    Sub Main()
        Dim sVal As Object = "ӄ"
        Array.ForEach(sVal.ToString().ToArray(), Sub(c) Console.WriteLine(Chr(Asc(c) - 100)))
    End Sub
End Module


Seems more like encryption, but yeah.
I think the goal of this one was more having HORRIBLE code.
Was This Post Helpful? 0
  • +
  • -

#40 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon


Reputation: 2270
  • View blog
  • Posts: 9,496
  • Joined: 29-May 08

Re: Obfuscater Challenge#1: Hello World!

Posted 03 December 2011 - 09:54 PM

ranthi Not quite in the spirit of the challenge.

The aim is to write the most Coffee Spitting inducing code, you can. If provokes other coders into uttering "What The F*ck! Who wrote this?" then success. Have a look at some of the other entries to get an idea.
Was This Post Helpful? 0
  • +
  • -

#41 DimitriV  Icon User is offline

  • They don't think it be like it is, but it do
  • member icon

Reputation: 584
  • View blog
  • Posts: 2,738
  • Joined: 24-July 11

Re: Obfuscater Challenge#1: Hello World!

Posted 03 December 2011 - 10:34 PM

Dim h As String = "h"
Dim e As String = "e"
Dim l2 As String = "l"
Dim l As String = "l"
Dim o As String = "o"
Dim space As String = " "
Dim hello As String = "hello"
Dim w As String = "w"
Dim o2  As String = "o"
Dim r As String = "r"
Dim l3 As String = "l"
Dim d As String = "w"
Dim world As String = "world"
Dim helloworld As String = "hello world"
Dim msg As String = h & e & l2 & l & o & space & w & o2 & r &l3 & d
MsgBox("Hello World")
MsgBox(msg)
MsgBox(hello & world)
MsgBox(helloworld)


Was This Post Helpful? 0
  • +
  • -

#42 dawmail333  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 27
  • View blog
  • Posts: 174
  • Joined: 02-July 07

Re: Obfuscater Challenge#1: Hello World!

Posted 03 December 2011 - 11:26 PM

View PostjimmyBo, on 04 December 2011 - 03:34 PM, said:

Dim h As String = "h"
Dim e As String = "e"
Dim l2 As String = "l"
Dim l As String = "l"
Dim o As String = "o"
Dim space As String = " "
Dim hello As String = "hello"
Dim w As String = "w"
Dim o2  As String = "o"
Dim r As String = "r"
Dim l3 As String = "l"
Dim d As String = "[b]d[/b]"
Dim world As String = "world"
Dim helloworld As String = "hello world"
Dim msg As String = h & e & l2 & l & o & space & w & o2 & r &l3 & d
MsgBox("Hello World")
MsgBox(msg)
MsgBox(hello & world)
MsgBox(helloworld)



FTFY
Was This Post Helpful? 0
  • +
  • -

#43 ranthi  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 20
  • Joined: 28-November 11

Re: Obfuscater Challenge#1: Hello World!

Posted 04 December 2011 - 10:10 AM

View PostAdamSpeight2008, on 03 December 2011 - 09:54 PM, said:

ranthi Not quite in the spirit of the challenge.

The aim is to write the most Coffee Spitting inducing code, you can. If provokes other coders into uttering "What The F*ck! Who wrote this?" then success. Have a look at some of the other entries to get an idea.


oh, I thought it was obfuscating..my bad..Ill try again later today. sure I can come up with somethin
Was This Post Helpful? 0
  • +
  • -

#44 ranthi  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 20
  • Joined: 28-November 11

Re: Obfuscater Challenge#1: Hello World!

Posted 04 December 2011 - 01:40 PM

here you go

Spoiler

Was This Post Helpful? 0
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3