M
M
Mikhail Lebedev2020-04-11 20:36:22
Information Security
Mikhail Lebedev, 2020-04-11 20:36:22

Prevent caching js in html?

there is a link to js:
src=" https://fuck/total_timeline.js "

which specifies cache-control: public, max-age=16070400 but

I need it to be updated once a day,

how can I organize it?
maybe you can
add
total_timeline.js?randomNumb in the line
using js with each reload?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
F
FanatPHP, 2019-10-17
@FanatPHP

If you're asking, then no way. This is not bullshit or trolling. It is a fact.
A pen tester is an explorer. Which is able to extract useful information even from a very limited set of data using a very limited toolkit. Just logic and the ability to work with available information.
The sea of ​​information is available to you - the entire Internet. But you sit and wait for someone to put it in your mouth from a spoon. So you can only become a script kiddy - a boy who can run two ready-made programs, but does not know what to do with the information they give out, and - most importantly - what to do when the finished programs pass. But if you are suddenly lucky, and the program wrote about some found vulnerability, you can start showing off to your classmates. Most likely, this is exactly what you need, and you're just confusing concepts.

R
Ronald McDonald, 2019-10-16
@Zoominger

any resources where you can start learning for a beginner.

Google.
This is the answer.

A
Andrew, 2019-10-17
@deepblack

You just start doing at least something, and do not look for excuses, they say infa is outdated.

C
CityCat4, 2019-10-17
@CityCat4

Install Kali :D

E
Egor Aristov, 2020-04-11
@zaza41rus

может можно в строке
добавлять
total_timeline.js?randomNumb
средствами js при каждой перезагрузке?

Yes, this is exactly what is done in most sites
. You can even do it easier if you need it once a day - add the current date after the question .
For example
let url = " https://fuck/total_timeline.js? " + parseInt(Date.now() / (1000 * 3600 * 24));

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question