tampering

Rails 3 ActiveRecordStore session_id tampering

拥有回忆 提交于 2019-12-03 16:26:24
I am co-developing a simple web app in Rails 3.0.9 and I have realized that there is a possible session_id tampering possible via malicious request. Mind the fact, that this is my first RoR application, so I could be totally wrong in my conceptions. Current application functionality requires sessions so I turned to ActiveRecordStore session storage, installed it and started testing in primitive workflows. I noticed that Rails framework creates cookie with the name _session_id and value of some random hash-like string (in DB SESSION table this string corresponds to session_id column). If that

PayPal amount tampering

只谈情不闲聊 提交于 2019-11-29 11:49:39
I've never done a paypal integration before, however i have worked with other gateways. With other gateways there is a hash which is also sent in the form post, this stops people from tampering with the data ie changing the amount. How is this tampering stopped with paypal, there doesnt appear to be any hash. <form method="post" action="https://www.sandbox.paypal.com/cgi-bin/webscr"> <input type="hidden" value="_xclick" name="cmd"> <input type="hidden" value="online****@theg*****.com" name="business"> <!-- <input type="hidden" name="undefined_quantity" value="1" /> --> <input type="hidden"

iOS - Add “objects” to existing app (jailbroken)

喜欢而已 提交于 2019-11-28 15:36:08
How do you add "objects" to an existing app ? For example, the EasyRefresh for Chrome tweak, enables a new button inside the iOS Chrome app, as do many other tweaks. How may i add a simple UIButton to, for example, the Twitter app ? Is there any GitHub projects that might help me to understand how it's done ? Image Source: ModMyI Thanks. The trick involves some (very basic) reverse engineering and is made up of several steps; I'll try to explain them as clearly as possible. Step Zero: if the app is downloaded from the AppStore, it's encrypted. You have to decrypt it using one of the scripts

PayPal amount tampering

旧城冷巷雨未停 提交于 2019-11-28 05:39:59
问题 I've never done a paypal integration before, however i have worked with other gateways. With other gateways there is a hash which is also sent in the form post, this stops people from tampering with the data ie changing the amount. How is this tampering stopped with paypal, there doesnt appear to be any hash. <form method="post" action="https://www.sandbox.paypal.com/cgi-bin/webscr"> <input type="hidden" value="_xclick" name="cmd"> <input type="hidden" value="online****@theg*****.com" name=

Validator skipped when input is removed in client – is this as per JSF specification?

空扰寡人 提交于 2019-11-27 22:29:09
I have a page with an input text component marked as required="true" and having a custom Validator in server side. Now as a client, I submit the page without the HTML element rendered by that component (this can be easily achieved by removing the element from the DOM tree using browser's builtin DOM element inspector). The form is successfully submitted, without the server side validation of this required component. Is this as per JSF specification? Is there a way to specify that the validators in the page are to be executed even if the posted page do not contain them? This is indeed as per

iOS - Add “objects” to existing app (jailbroken)

自古美人都是妖i 提交于 2019-11-27 09:17:56
问题 How do you add "objects" to an existing app ? For example, the EasyRefresh for Chrome tweak, enables a new button inside the iOS Chrome app, as do many other tweaks. How may i add a simple UIButton to, for example, the Twitter app ? Is there any GitHub projects that might help me to understand how it's done ? Image Source: ModMyI Thanks. 回答1: The trick involves some (very basic) reverse engineering and is made up of several steps; I'll try to explain them as clearly as possible. Step Zero: if