Git Product home page Git Product logo

shellnoob's People

Contributors

anthraxx avatar ret2libc avatar reyammer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shellnoob's Issues

PY2 = sys.version_info.major == 2 ?

Python 2.6.5

root@bt:/Desktop/shellnoob-master# ls
COPYRIGHT README.md samples shellnoob.py test.py
root@bt:
/Desktop/shellnoob-master# ./shellnoob.py
Traceback (most recent call last):
File "./shellnoob.py", line 39, in
PY2 = sys.version_info.major == 2
AttributeError: 'tuple' object has no attribute 'major'
root@bt:~/Desktop/shellnoob-master# ./shellnoob.py -h
Traceback (most recent call last):
File "./shellnoob.py", line 39, in
PY2 = sys.version_info.major == 2
AttributeError: 'tuple' object has no attribute 'major'

Python 2.6.6 crash

$ python --version
Python 2.6.6

>>> sys.version_info
(2, 6, 6, 'final', 0)

$ python shellnoob.py
Traceback (most recent call last):
File "shellnoob.py", line 39, in
PY2 = sys.version_info.major == 2
AttributeError: 'tuple' object has no attribute 'major'

License is missing

I can't find a reference indicating the licence of shellnoob in its readme or any COPYING or LICENSE file. A clear statement of it will facilitate the collaboration.

Thanks!

Add arm64 support

In Kali, we received a bug report about shellnoob crashing on arm64. This happens because there currently is no arm64 support.

With the increase in arm64 devices, it would be nice to see shellnoob also support arm64.

Unicode Characters in Shellcode Cause Exception

break.asm
.section .text
xor %eax,%eax /* โ˜ƒ */
push %eax
push $0x68732f2f
push $0x6e69622f
mov %esp,%ebx
push %eax
push %ebx
mov %esp,%ecx
mov $0xb,%al
int $0x80
-- end break.asm --

python shellnoob.py --from-asm break.asm --to-exe break

causes the following exception:

Traceback (most recent call last):
File "shellnoob.py", line 1557, in
main()
File "shellnoob.py", line 1553, in main
snoob.do_conversion(input_fp, output_fp, input_fmt, output_fmt)
File "shellnoob.py", line 515, in do_conversion
_output = getattr(self, conv_func_name)(_input)
File "shellnoob.py", line 221, in conv
_hex = to_hex(self, input_s, with_breakpoint)
File "shellnoob.py", line 665, in asm_to_hex
obj = self.asm_to_obj(asm, with_breakpoint)
File "shellnoob.py", line 960, in asm_to_obj
tmp_asm_f.write(asm.encode("utf-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: ordinal not in range(128)

@reyammer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.