Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

this is not safe #1

@rkh

Description

@rkh

Your regexp based safety is virtually non existent. Check out /home/ubuntu/onirb/public/warning.html if you don't believe me. I've shut down your app so nobody does any crazy stuff with it, cause, you know, you were running as root.

Here is how I did it (just in case you should think you fixed the issue):

1.9.3 :013 > Object.const_get("P""rocess").pid 
=> 27418
1.9.3 :014 > %x(kill -9 27418) 
Disconnected! Please reload page!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions