Show Posts

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.


Messages - jitterbud

Pages: [1]
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?

2
Code: [Select]
struct  labrat{
             char *testinput;
             int i;           
        }test;

Googling Structures....

3

Random stuff to learn how code operates. I get this error but I don't know what I'm doing wrong. Anyone care to explain what the issue may be and point me into some resources to better understand. THANKS!
ponter.c:5:3: error: expected identifier or ‘(’ before ‘{’ token
   {

Code: [Select]
#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#################################*/


4
Beginner's Corner / Re: Starting programming?
« on: May 16, 2015, 04:55:29 pm »
Keep reading code. Its the minimum you gotta do to progress. All your doing is better understanding code but not embedding it in your head(Helps a lot if you enjoy reading so it doesn't burn your eyes or strain your head). If its been a while since you’ve done any sort of programming, go back and do some snippets of code that you remember(a refresher). Then do the fundamentals that you don't seem to grasp. Laziness doesn't go well with discipline which is what you need if you want to speed up the process of success.

5
Beginner's Corner / Re: CaesersCypher
« on: May 16, 2015, 02:35:01 pm »
Sure. We all need some sort help to being self aligned any ways. I'm having an issue with the key. Key doesn't loopback from z to a, instead it goes on to the ASCII [,|,^. I don’t think Isum = (Isum -26) is the way to do it...

6
Beginner's Corner / CaesersCypher
« on: May 15, 2015, 06:21:50 pm »
I'm doing cs50 @ Edx.org. One of the problem sets was to take a key from the user and use  caeser's algorithm to scramble the user input text. Not all that, but its the start to cryptology which underpin's  cryptography. Its was also a learning curve into how to convert ASCII char into integer and converting back when shifting the letters.
Code: [Select]
#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;

}


7
Hacking and Security / Re: Linux RAT
« on: May 15, 2015, 02:36:39 pm »
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.
[update] I just tried using prey on my ubuntu machine and its a bitch to setup.
Software repo doesn't install it. So you have to cd /usr/lib/prey/current/bin/ && sudo ./prey config gui. Now it'll run only when you run the script. Restart and it won't run, you have to set it to run on boot.

Pages: [1]