Skip to content

Ast override makes is possible to bypass #30

Description

@gregmolnar

Parser should be in the forbidden list, because it is still possible to bypass the protection by monkey-patching it:

class ::Parser::AST::Processor
	def on_const(node)
		node = [:String]
	end
end
conn = PG::Connection.open(:dbname => 'rails_edge_development')
conn.exec "delete from console1984_sessions"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions