C/C++ Simple Fork Bomb

已完成 已发布的 Sep 19, 2015 货到付款
已完成 货到付款

Create a Program and it should use fork/exec

It should accept command line args (chrome/firefox)

It is a fork bomb (running endlessly)

In c or c++

The command line argument must be the name of an "X" program (such
as chrome) to run (so you can watch it take over the computer). For
example "myProgram chrome" would execute via the fork and exe system calls
the chrome browser.

However, your program must also use the fork and exe system calls to
execute a copy of myProgram with the same command-line arguments. For
example "myProgram chrome" would execute via the fork and exe system calls
the chrome browser AND re-execute "myProgram chrome" which would execute via the
fork and exe system calls the chrome browser AND re-execute "myProgram chrome"
which would execute via the fork and exe system calls the chrome browser
AND re-execute "myProgram chrome" which would ... (you get the idea) until
you have a screen full of chrome browsers.

NOTE:
-----
A fork bomb cannot rely on any type of loop to spawn the children!

C 编程

项目ID: #8512501

关于项目

4个方案 远程项目 活跃的Sep 19, 2015

授予:

hainraja

Hi, I believe you want to create fork-exec repeatedly (till the system runs out of pids) or conditional execution of fork. This can be done in C. Thanks!

$30 USD 在1天内
(22条评论)
5.4

有4名威客正在参与此工作的竞标,均价$33/小时

renhua

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before i can deliver as u have mentioned I have che 更多

$21USD 在1天里
(4条评论)
2.6
linzy1229

Hello Sir, I have gone through the details you have provided and I have already worked on similar project before and can deliver as u have mentioned. I would be pleased to work on this with you to deliver the result 更多

$19USD 在1天里
(2条评论)
0.6
Mazharhameed91

Hello freind i will do this task I am doing c++ programming in industry and i know how to do this very efficiently for you

$50USD 在1天里
(0条评论)
0.0
VinodBargukar

Extensive experience with analysis, design, development, customizations and implementation of software applications using C, C++, Java, Python,Multi-threading, Perl, Shell scripting, SQL, Pro C, Oracle on Gnu/Linux, HP 更多

$25USD 在1天里
(0条评论)
0.0
hbkhalid92

I will do this task very well I have vast industry experience and knowledge about c and c++ i will take only few hours

$25USD 在1天里
(0条评论)
0.0