Re: how do I run this program?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: Main PLUG discussion list
Subject: Re: how do I run this program?
The instructions they give are:

A daemon is listening on port 30002 and will give you the password for
bandit25 if given the password for bandit24 and a secret numeric 4-digit
pincode. There is no way to retrieve the pincode except by going through
all of the 10000 combinaties, called brute-forcing.

I figure I'd netcat to the port a file with the bandit24's password and the
pincodes and .... I still have to investigate man more
:-)~MIKE~(-:

On Wed, Feb 25, 2015 at 10:05 AM, Mark Phillips <>
wrote:

> Mike,
>
> I don't think the program you found prints anything. What were the actual
> instructions from Bandit?
>
> Mark
>
> On Wed, Feb 25, 2015 at 8:22 AM, druid001 . <> wrote:
>
>> Can't help, but what a coincidence, I just started bandit last night!
>>
>> On Wed, Feb 25, 2015 at 1:51 AM, Michael Havens <> wrote:
>>
>>> I need to get every four digit combination as part of the next challenge
>>> in bandit. I'm not a programmer so I googled for a solution. Please, how do
>>> I run this program?
>>>
>>> int main(int argc, char** argv){
>>> int a,b,c,d;
>>>
>>> for(a=1; a<5; a++){
>>> for(b=1; b<5; b++){
>>> for(c=1; c<5; c++){
>>> for(d=1; d<5; d++){
>>> if(!(a==b || a==c || a==d || b==c || b==d || c==d))
>>> printf("%d%d%d%d
>>> ",a,b,c,d);
>>> }
>>> }
>>> }
>>> }
>>>
>>> return 0;
>>> }
>>> :-)~MIKE~(-:
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list -
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>> --
>> Love, sex, food, friendship, play, beauty and the simple pleasure of a
>> cold beer are all well and good, but never forget that the universe is
>> determined to kill you by whatever means necessary.
>>
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss