Skip to content

ichrak-eddor/Shell-C-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

To run this shell you need to download the zip file and extract it using this command

unzip  filename.zip

Enter the folder codeshell and compile all *.c files using GNU Compiler Collection (GCC) and run under Linux environments like Ubuntu

GCC command compiler

gcc -o batchcode batchcode.c
gcc -o shellcode shellcode.c

**Run the shell in interactive mode:

./shellcode

this is how it looks like

image

to execute on batch mode

give access permission

chmod u+x filename

Or run the shell in batch mode

with bat as a commands file

./bat

Makefile:

You can compile and run the shellcode shell with the Makefile using the command below.  This only works for the interactive mode.

~/codeshell% make shellcode

After you finish testing the shellcode shell, you can clean up the unnecessary files in the folder with the following command:

~/codeshell% make clear rm shellcode .codeshell

About

Write your own shell with c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors