1
Hacking and Security / Re: Setting Up A Backdoor
« on: May 24, 2015, 04:10:16 pm »
I envy your C program . WTF is in the
CustomHeader_Small header file anyway?
CustomHeader_Small header file anyway?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#include <stdio.h>
typedef struct {
char *testinput;
int i;
} labrat;
int main()
{
int z;
void addone(int z);
{
z++;
}
int n,a,x=1;
int *pointer_to_a = &a;
int *pointer_to_n = &n;
labrat test;
test.testinput="THis";
test.i = 5;
a+=1;
*pointer_to_a+=1;
scanf("Enter N value N is %d\n", pointer_to_n);
printf("THe value of n is %d\n", *pointer_to_n);
printf("N value is now %d\n", n);
printf("THe value of %d\n", a);
printf("The value of a is also %d\n", *pointer_to_a);
printf("%s is boring %d\n", test.testinput, test.i);
printf("%d is befor", x);
addone(z);
printf("%d is now", x);
}
/*###############################POINTERS#################################*/
#include <stdio.h>
#include <string.h>
#include <cs50.h>
#include <stdlib.h>
#include <ctype.h>
int main(int argc, string argv[])
{
int k,Isum;
if (argc !=2)
{
return 1;
}
string p = GetString();
k = atoi(argv[1]);
k = (k%26);
for(int i=0, n=strlen(p);i<n;i++)
{
Isum = (p[i]+k);
if(toupper(p[i] && (Isum > 'Z')))
{
Isum = (Isum - 26);
}
if(tolower(p[i] && (Isum > 'z'))
{
Isum = (Isum -26);
}
if(isalpha(p[i]))
{
printf("%c", Isum);
}
else {
printf("%c", p[i]);
}
}
return 0;
}
Yeah basically what Proxx said is all you need. Since you opt to use linux, then you should use linux tools and forget about RATs. SSH is basically the tool you want to use, but in case of theft, I would recommend projects such as http://preyproject.com/ that are built specifically for that purpose.Thanks for introducing this, gonna use it. Its nothing new but cool to see shit like this for nix.