Jump to content

wd-40

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Location
    n/a
  • Activity
    Developer

Recent Profile Visitors

214 profile views

wd-40's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Je crois que dans mon cas, le point d'entrée était un POST vers: I believe in my case the entrypoint was a POST to: /modules/sampledatainstall/sampledatainstall-ajax.php?action=bajatax HTTP/1.1
  2. Salut! Désolé de détourner ce fil, mais j'ai également subi un incident comme celui-ci. Il semble que dans mon cas, ils ont utilisé le module «sampledatainstall» pour télécharger des fichiers. Deux répertoires ont été créés avec le contenu: ----------------------------------------------- Hello! Sorry to hijack this thread, but I have also suffered an incident like this. It seems that in my case they used the 'sampledatainstall' module to upload files. There were two directories created with the contents: ls -la bajatax_xsamado drwxr-xr-x 3 webuser451 webuser451 4096 Aug 22 03:07 . drwxr-x--- 28 webuser451 webuser451 4096 Aug 22 00:57 .. -rw-r--r-- 1 webuser451 webuser451 0 Aug 20 17:10 bajatax_2020_2.php -rw-r--r-- 1 webuser451 webuser451 49027 Aug 20 20:59 bajatax.php -rw-r--r-- 1 webuser451 webuser451 50027 Aug 21 20:01 ctnlmkxfww.php drwxr-xr-x 2 webuser451 webuser451 2371584 Aug 21 20:20 F0xAutoConfig -rw-r--r-- 1 webuser451 webuser451 170678 Aug 22 00:49 hkzpbdtvpy.php -rw-r--r-- 1 webuser451 webuser451 27178 Aug 22 03:07 inbox.php -rw-r--r-- 1 webuser451 webuser451 946 Aug 21 20:20 kpulnkdoly.php -rw-r--r-- 1 webuser451 webuser451 946 Aug 22 00:57 nkdrbmdbtt.php -rw-r--r-- 1 webuser451 webuser451 946 Aug 22 00:49 nwltrocwlt.php -rw-r--r-- 1 webuser451 webuser451 946 Aug 21 20:01 omqnzwriiw.php -rw-r--r-- 1 webuser451 webuser451 111 Aug 22 00:57 php.ini -rw-r--r-- 1 webuser451 webuser451 946 Aug 21 20:26 pwlmljfoqr.php -rw-r--r-- 1 webuser451 webuser451 170668 Aug 22 02:48 sa.php -rw-r--r-- 1 webuser451 webuser451 1358 Aug 22 03:07 smtp.php -rw-r--r-- 1 webuser451 webuser451 946 Aug 21 22:50 vnrgvyxmyv.php -rw-r--r-- 1 webuser451 webuser451 946 Aug 21 22:18 ysavrhpabn.php ls -la xsamxadoo drwxr-xr-x 2 webuser451 webuser451 4096 Aug 21 15:19 . drwxr-x--- 28 webuser451 webuser451 4096 Aug 22 00:57 .. -rw-r--r-- 1 webuser451 webuser451 4788 Aug 20 14:50 11fda8474be9d8c78826e3c2854f0dc2.php -rw-r--r-- 1 webuser451 webuser451 471 Aug 21 15:13 a1c2f4f30d7a62f1622e7dfaee89adc4.php -rw-r--r-- 1 webuser451 webuser451 35 Aug 19 05:18 bajatax.php -rw-r--r-- 1 webuser451 webuser451 7 Aug 20 15:58 bff325b6283c208b51fb2b92f6d219ad.php -rw-r--r-- 1 webuser451 webuser451 49025 Aug 21 15:19 e4730ce5f04e7d1d403085859d24d833.php -rw-r--r-- 1 webuser451 webuser451 7 Aug 19 05:18 ex_bajatax.php -rw-r--r-- 1 webuser451 webuser451 727 Aug 19 05:18 xsam_baja.php -rw-r--r-- 1 webuser451 webuser451 35 Aug 19 05:18 xsamxadoo.php
  3. Hi there! I've searched the forum for similar problems, but haven't found any solutions, so I am submitting my first post on the forum. I have experience with smarty and PHP, but not much with PrestaShop (altough I have been browsing the 1.6 programmers documentation for some time now) This is what I am trying to achieve: During the checkout make the user select a warehouse from where the item will be shipped (or picked up) via the standard standard carrier modules. Based on this selection at the end of the order the client, the admin, and the warehouse operator should get one email each from the order. The list of the warehouses does not need to be editable from the backoffice, but if its not too tricky it would be good to have the selected warehouse's name displayed somewhere in the 3 emails bodys sent. Besides this warehouse selection (and additional mailing) nothing needs to be changed! My idea is that I will make a module that utilizes the displayCarrierList (or displayBeforeCarrier) hook to display a drop down select (warehouse_id), which i can use later on to do the mail sending part. (I got to the point where I can display arbitrary text via a the displayCarrierList hook based on Skeleton.php available from https://github.com/jevin/Prestashop-Module-Skeleton ) What is not crystal clear, is how to post this data with the order and how to access it later on. Could you help me, with answering to these questions? - is my idea theoretically correct? (will I be able to pull this off?) - which parts should I look into / modify (override a class, utilize a hook) to be able to send you the 3rd e-mail to the warehouse? (and possibly append the selected warehouse name into the mail) - if i am fundamentally wrong, could you hit me with a clue-by-four to get me the right track? Thank you in advance, wd40
×
×
  • Create New...