Jump to content

[SOLVED]]How to debug hack attempt


jnktaylor
 Share

Recommended Posts

Been working on our website the past few days trying to resolve various issues and just noticed
that if I log in I get a Hack Attempt. It appears to be coming from the cart module since the cart
is never displayed.

How do I debug this to determine where the hack attempt if coming from?

Thanks
Jack

Share this post


Link to post
Share on other sites

I usually start printing little debug statements, even just numbers (1 , 2 , 3 etc..) and narrow it down to find out exactly where the page breaks (and displays the hack attempt).

Share this post


Link to post
Share on other sites

Well it took awhile but I think it is fixed. Started out by disabling modules and narrowed it down to the
new products module. By inserting debug strings, I tracked it down to the Tax class. In my attempt
to test the checkout process, I changed addresses on the test account several times. Something got messed up in the
address table and it couldn't determine if tax was required. I deleted all the old addresses from address table except one
and it is working.

Thanks
Jack

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More