ar
Feedback
Web_programming

Web_programming

الذهاب إلى القناة على Telegram

Sharif web programming If you have any questions, please feel free to ask(@yumcoder)

إظهار المزيد
1 052
المشتركون
لا توجد بيانات24 ساعات
-17 أيام
-630 أيام
أرشيف المشاركات
#vscode 1. alt+mouse_click 2. select 3. space

The Page #Visibility API is useful for the Web application to know whether it is currently displayed on the front or not, especially to stop resource-intensive UI animations or data refreshing when it is not needed. On the mobile devices, the primary reason for that is to reduce the battery usage. https://whatwebcando.today/foreground-detection.html

In web development, a #polyfill is code that implements a feature on web browsers that do not support the feature. Most often, it refers to a JavaScript library that implements an HTML5 web standard, either an established standard (supported by some browsers) on older browsers, or a proposed standard (not supported by any browsers) on existing browsers. Formally, "a polyfill is a shim for a browser API" https://en.wikipedia.org/wiki/Polyfill_(programming)

با دقت مطالعه کنید :) https://dhavalkapil.com/blogs/Buffer-Overflow-Exploit/ #buffer_overflow

یک مثال برای Buffer Overflow Attack  https://www.thegeekstuff.com/2013/06/buffer-overflow/?utm_source=feedly

یعنی در انتهای این تابع یک دستور return وجود دارد که توسط کامپایلر به یک آدرس که این تابع را فراخوانی کرده است بر میگردد ما با تغییر این بخش از حافظه به کد مخرب پرش میکنیم و کد را اجرا میکنیم!

For example, when a function is called the program (code inserted by the compiler) must store the address of the instruction to return to. So if this is the 32 bit word just before the beginning of the stack, one could do:

void foo() {
  int array[5]; 
  int var = 0; 
  int var2 = 0; // read in user input 
  printf("Enter index and value to write:"); 
  scanf("%i", var); 
  scanf("%i", var2); 
// malicious user might set var to -1 and var2 to an address to execute 
// if say the 32-bit value before the stack variables is the instruction to // return to 
  array[var] = var2
 // return now goes to malicious code 
}

Code injection در زبان c تکنیکی است از آن در مشکل امنیتی اخیر whatapps بهره گرفت اند. یک توضیح ساده درباره آن در زبان c اندیس ارایه ها چک نمیشود. بنابراین میتوان یک کد مخرب را درون بخش از حافظه قرار داد و با تغییر بخشی از حافظه که عمل jump را انجام میدهد کد مخرب را اجرا کرد !

کتاب جدیدی که شروع به مطالعه کردم 😃

photo content

https://m.businesstoday.in/lite/story/tim-cook-apple-ceo-says-4-year-degree-not-necessary-coding/1/345666.html? مدیر اپل: برای برنامه نویس شدن لازم نیست ۴ سال دانشگاه برید

استفاده از hook برای reactjs به نظر من بسیار خوش فرم تر از HOC شده است :)
استفاده از hook برای reactjs به نظر من بسیار خوش فرم تر از HOC شده است :)

#yumjs
#yumjs

#yumjs
#yumjs