How to escape chroot jail with root privileges given that current working directory wasn’t changed before the call to chroot()?

How to escape chroot jail with root privileges given that current working directory wasn’t changed before the call to chroot()? I’ve a keen interest in security, and so have read this small article on how to exploit a wrongly configured chroot jail given root privileges. From the article, it’s assumed that the current working directory…

Details

How to edit shipping address after click order in Magento 1

I want edit shipping address after create order on frontend in magento 1. I used observer, it’s ok, but i cann’t set new shipping address Ex: i want change firstname to “ABC” $orderId = $observer->getEvent()->getOrder()->getData(‘entity_id’); $order = Mage::getModel(‘sales/order’)->load($orderId); $order->getShippingAddress()->addFirstname(“Abd”); $order->save(); And i also try this code but it not working $order = Mage::getModel(‘sales/order’)->load($orderId); $quote =…

Details