|
yes i use 20-30 threads if i use more i receive errors,nsock timeouts! nsock errors! etc...so i need to put that code somewhere but i don't know how?
|
|
|
|
|
Member 11189357 wrote: i need to put that code somewhere but i don't know how? And you think maybe we can guess? We have no idea what your code is supposed to be doing, or what you are trying to achieve with these threads.
|
|
|
|
|
ncrack -vv -d7 --user admin -P list1.txt 81.196.251.12:3389,CL=20,cd=320ms -oN good.txt -f
CL=means maximum threads 20 , becouse if i use more...i receive nsock errors
tools i use are ( ncrack +visual c++)
-- modified 24-Sep-16 10:27am.
|
|
|
|
|
So you are trying a brute force attack on a site via the remote desktop access (port 3389) as user admin with a set dictionary of passwords, and you want us to help you??????
There is no good or legal reason you would need to do such a thing, so that leaves only illegal.
Not going to happen
Interesting target: RIPE Network Coordination Centre
descr: RCS & RDS Residential
descr: City: Bucuresti
In vino veritas
modified 24-Sep-16 13:57pm.
|
|
|
|
|
i use a sock 5 to connect so that's not my real IP, what ur tryng to proove?that ur superman?
|
|
|
|
|
Good to see you aren't stupid enough to be trying to develop something illegal and give up your own IP ... gratz you get a +1 for IQ in my books and the the authorities may not kick in your door one evening.
In vino veritas
|
|
|
|
|
|
I had a feeling that was the case, but could not be certain. Thanks for your comments.
|
|
|
|
|
It sounds like you are wanting to know how to use a network authentication cracker. How exactly is this a C / C++ / MFC question?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Note: prefer _beginthreadex over _beginthread.
If using C++11, you could use the std::thread class.
|
|
|
|
|
im having a problem here.. my program always output Invalid Gender! after I input the gender and status..
#include stdio.h>
/*Ambus*/
int main()
{
char stat[10], gend[10];
int rCTR, mmCTR, fsCTR;
clrscr(); mmCTR = 0; fsCTR = 0;
for (rCTR = 1; rCTR <= 10; rCTR++)
{
JJ:printf("\n Record %d \n",rCTR);
printf("Input your gender:"); scanf("%s",&gend);
printf("Input your civil status:"); scanf("%s",&stat);
if(gend == "female")
{
if(stat == "single")
fsCTR++;
else if(stat == "married");
else
{
printf("Invalid civil status!");
goto JJ;
}
}
else if(gend == "male")
{
if(stat == "married")
mmCTR++;
else if(stat == "single");
else
{
printf("Invalid civil status!");
goto JJ;
}
}
else
{
printf("Invalid gender!");
goto JJ;
}
}
printf("Single females=%d, Married males=%d, Number of Records=%d.", mmCTR, fsCTR, rCTR-1);
return 0;
}
|
|
|
|
|
if(gend == "female")
That is not a valid way to compare strings in C. You need to use one of the string compare functions: see strcmp, wcscmp, _mbscmp[^]. It is also a bad idea to use the goto statement, use loops instead.
|
|
|
|
|
You are comparing a character array (a pointer) with a pointer to a constant string:
if(gend == "female")
Those pointers will never be identical.
If you want to compare strings (the content pointed to by the pointers), you must compare each element (character) of the strings. There is the strcmp[^] C standard library function to do this:
if (!strcmp(gend, "female")) 
|
|
|
|
|
ohh.. i see.. thank you very much :3
|
|
|
|
|
I wonder: what IDE / compiler are you using? Isn't the debugging possible?
|
|
|
|
|
it is possible.. btw im just a beginner :3
|
|
|
|
|
This is very interesting. Thanks for your support. Getting a wonderful experience. With best compliments.
Shiv Prakash
|
|
|
|
|
I have an application in Visual C++ 6.0, but I need to send an arrangement of bytes to another computer through a net cable, using socket. Please that somebody please tells me how to make it or that they show me an example.
|
|
|
|
|
Plenty of example out there on the web. Did you look?
Search[^]
|
|
|
|
|
|
Hello,
Could you please provide some examples "
In C++ compiler providing the default copy constructor ,then why do we need copy constructor . "
Thanks and Regards,
Ranjithkumar.S
ranjith
|
|
|
|
|
When you want something other than the default behavior.
|
|
|
|
|
provide some example
ranjith
|
|
|
|
|
If this was a write code to order service, what sort of an example would I write for you? But since this is not a coding service, no, I won't do your homework for you.
|
|
|
|
|