Doh.... when I run from the compiler I ge the pause, when I run the actual exe from either bat file or manually it works with no puase.....
Thanks for putting up with me....
Type: Posts; User: letmein
Doh.... when I run from the compiler I ge the pause, when I run the actual exe from either bat file or manually it works with no puase.....
Thanks for putting up with me....
I am calling the "exe" file from a batch file. Does that answer your question?
I have tried compiling using different projects but all seem to give the same result in that the user has to press a...
I have a program which generates some files, when it has completed the console window requires the user to press a key (this isnt coded n, it seemingly is part of the the console).
Is there a way...
The generation of a 100mb dictionary takes about 4 minutes, aircrack requires approx 2 hours to test this. Aircrack compares the dictionary permutation one after another, on my machine processing...
(I had tried that but it doesnt close properly i.e with no user intervention)
When i do
/*i=getchar();*/
I get.....
closing file dic1.txt
@Adak...
Got it working to append rather than preappend....
The program/terminal requires a key to be pressed to exit the terminal window, is there a way round that? I woudl like the progrsm...
@Adak and Brewbuck.....
Thanks great help, trialling Adaks version at the mo, is massivley quicker than I thought it would be.
I take your point about generating the whole file from within the...
@Adak, thanks for helping...
1st txt file contains 10million lines of
AAAAA
AAAAB
AAAAC
AAAAD
etc
I have a 100mb file which contains 10 million entries, I need to append 3 characters to the end of each line.
I know I can do this in DOS.... but way too slow....
Does anyone have an idea how...
I tried different combinations to remove the > (\0) from the WPAkey1 etc variables but with no joy....
If strncpy isnt capable of setting a variable from a string without >, is there another...
Ok I have read alittle more and got so far (see code)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
/*search for SKYxxxxx and MD5 hash the MAC address...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
/* set variables / array */
char MAC[13];
char MACHashed;
char WPAkey1;
Got it working, thanks for all the help, I have no doubt I'll have a few more questions coming up....
printf("%c", MAC[9]); printf("%c", MAC[8]);
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void)
{
/* set variables / array */
char MAC[13];
char first;
char second;
Use [code] for your code. - will do
It is better write main(void) instead main(). - noted
The syntax of your printf function is wrong (printf(string). You can use puts(string) or printf("%s",...
I am trying to take a user input, the split it into seperate varibale so that I can then reorder so
string input = 123456789
output = 654789123
I know this is basic but really struggling...