₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,240 members, 8,449,357 topics. Date: Tuesday, 21 July 2026 at 04:34 PM

Toggle theme

D3mn8's Posts

Nairaland ForumD3mn8's ProfileD3mn8's Posts

1 (of 1 pages)

ProgrammingRe: System_call_project by d3mn8(op): 4:30pm On Jan 22, 2015
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"wink;

exit (exit_code);

}
ProgrammingSystem_call_project by d3mn8(op): 5:56pm On Jan 21, 2015
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.
ProgrammingRe: To All Unix/linux Users: I Want To Learn, Comments/suggestions Pls by d3mn8: 11:13am On Jan 20, 2015
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...
ProgrammingRe: My Fellow Students Of Programming Help Me Out by d3mn8: 11:08am On Jan 20, 2015
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
ProgrammingRe: As A Computer Science Student,which Language Should I Start Learning by d3mn8: 6:57am On Jan 17, 2015
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.
ProgrammingRe: To All Unix/linux Users: I Want To Learn, Comments/suggestions Pls by d3mn8: 6:51am On Jan 17, 2015
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.
ProgrammingRe: How Can I Be Ccna Certified by d3mn8: 6:32am On Jan 17, 2015
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)