D3mn8's Posts
Nairaland Forum › D3mn8's Profile › D3mn8's Posts
1 (of 1 pages)
Here is a follow up on the project to give contributors a head on. I just started writing the get option function. //This program is open to all who is interested in contributing. The source code can be distributed as long as you dont take credit for it. Be sure to copy, add your code and paste an updated copy of this source code so that potential bugs can be discovered and corrected. /*I included the header file to parse command-lineoptions*/ /*Standard Input and Output header are also included for interaction*/ #include <getopt.h> #include <stdio.h> #include <stdlib.h> const char* program_name; // change the program name to suite you /* Prints usage information for this program to STREAM (typically stdout or stderr), and exit the program with EXIT_CODE. Does not return. */ void print_usage (FILE* stream, int exit_code) { /*%s shows the data type as string */ fprintf (stream, "Usage: %s options [inputfile ...]\n", program_name); fprintf (stream, " -r --rickroll Run Julie Evan's rickroll program.\n" " -h --help Display this usage information.\n" " -v --verbose Print verbose messages.\n" ;exit (exit_code); } |
This program performs some kind of auditing which leaves audit trial in the /tmp directory. It basically hijacks a system call table in Linux. I got interested in this project after Julie Evans talk at strange loop titled " You can be a kernel Hacker." We will use the open system call to manipulate the musics on our /home/Music so that when a music is opened, a particular music gets opened. Read more from his blog: http://jvns.ca/blog/2014/09/18/you-can-be-a-kernel-hacker/ At each progress, We will be sharing the source codes so that other developers can contribute by correcting any potential bug discovered and help ser this project to completion. It should be fun. You know Hacking isn't until you do something bad, Its all about doing using your knowledge to solve problems. Lets hack with C and see how long it would take to complete this project. I'll be using Nairaland, Facebook and the programming section on tutorialslodge and any other forum I can think of. You dont really need to be a C wizard to contribute. All you need is a PC that runs some kind of Linux, C compiler installed and passion for exploring. Lets have fun. |
Itz cool kay9. I'm about to begin a cool project on C tomorow. It would be nice of you to contribute, I'll give you details soon... |
I think you got it wrong from the very beginning. Your class is public and be declared with a different program name and not main. [code LANG=JAVA] public class prog { [/CODE] remove the main and insert your program name. also make sure you save it with the program name. I.e prog.java |
It depends on you but I'll suggest you learn C if you want to get your hands dirty. I added a few modules to my kernel n its fun and there's still more you can do with it. |
Hi, I got this late. Linux doesn't run on windows because of its file system. I use fedora and its cool because as a programmer, it offers a lot of functionality with ease. It comes with packages and most importantly, its open source and you can contribute to it and make it work for you. |
I'll also suggest you start by personal study for some time then register in a school for final brush ups before the exam. I'm also on it presently. For simulators, I'll suggest latest versions of cisco packet tracer 5.3 or 6.0 because Boson and GNS3 would require alot like images n money to unlock their full features. Best wishes in our endeavours... |
1 (of 1 pages)
;