Skip to content

Instantly share code, notes, and snippets.

View nuryslyrt's full-sized avatar
🌟
Discover Stars!

Nur Gucu nuryslyrt

🌟
Discover Stars!
View GitHub Profile

#petya #petrWrap #notPetya

Win32/Diskcoder.Petya.C

Ransomware attack.

About

This gist was built by the community of the researchers and was scribed by Kir and Igor from the QIWI/Vulners. We are grateful for the help of all those who sent us the data, links and information. Together we can make this world a better place!

Gist updates

#petya #petrWrap #notPetya

Win32/Diskcoder.Petya.C

Ransomware attack.

About

This gist was built by the community of the researchers and was scribed by Kir and Igor from the QIWI/Vulners. We are grateful for the help of all those who sent us the data, links and information. Together we can make this world a better place!

Gist updates

Output of executed https://github.com/lab2023/builder/blob/develop/linux.sh on Terminal
OS: Linux Mint Debian Edition 17 Cinnamon (*Debian Jessie Distro Based)
-------------------------------------------------------------
Updating system packages ...
Using aptitude ...
Ign http://dl.google.com stable InRelease
@nuryslyrt
nuryslyrt / main.c
Last active December 15, 2015 14:29
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
#define BUFFER_SIZE 1<<16
#define ARR_SIZE 1<<16
@nuryslyrt
nuryslyrt / kisisiniflari.java
Last active December 15, 2015 02:29
Kişi adlı sınıftan türetilip kullanılan fonksiyonlar setter ve getter methodları.
public class Kisi {
//ZİNNUR YEŞİLYURT !!!
private static String ad, soyad, dogumtarihi;
public static void uyur() {
System.out.print("Ben uyuyorum!!!");
}
public static void gezer() {
System.out.print("Gezmeye çıktım gidiyorum !!!");
}
@nuryslyrt
nuryslyrt / siralaortala.java
Created March 18, 2013 13:47
Bir diziyi küçükten büyüğe (bubble sort kullandım.) , büyükten küçüğe sıralar. Dizinin ortalamasını alır ve en büyük en küçük elemanları ekrana basar.
public class siralaortala {
//ZİNNUR YEŞİLYURT !!!
/**
* @param args
*/
static int[] BuyuktenKucuge(int[] arr) { //insertion sort algoritmasını gerçeledim.
int i, j, yenideger;
for (i = 1; i < arr.length; i++) {
@nuryslyrt
nuryslyrt / arabul.java
Created March 18, 2013 12:20
Kendisi kullanıcıyla dizi oluşturup daha sonra o dizide eleman arar.
import java.util.Scanner;
public class Diziler {
private static Scanner scan;
public static void diziyap(String[] args) {
scan = new Scanner(System.in);
System.out.print("boyut girsene\n");
String[] dizi = new String[scan.nextInt()];
@nuryslyrt
nuryslyrt / kronometre
Created May 8, 2012 17:16
Sayısal Tasarım lab. ı kronometre projesi
module KRONOMETRE (CLOCK_50, KEY, HEX7,HEX6,HEX5,HEX4,HEX3,HEX2, HEX1);
/******************************************************************/
/**** PORT TANIMLAMALARI ****/
/******************************************************************/
input CLOCK_50;
input [3:0] KEY;
output [0:6] HEX7,HEX6,HEX5,HEX4,HEX3,HEX2, HEX1;
/******************************************************************/
/**** WIRE TANIMLAMALARI,,, ****/
@nuryslyrt
nuryslyrt / cckfrktl.py
Created January 1, 2012 15:07
cicek_fraktal
from graphics import*
colormap = ['blue','yellow','green']
win = GraphWin("MyCircle", 900, 900)
def tiny(x, y, r):
c = Circle(Point((x-r), y), r/2)
c.draw(win)
c.setFill(colormap[0])
d = Circle(Point((x+r), y), r/2)
@nuryslyrt
nuryslyrt / krandom.c
Created November 25, 2011 17:10
random sayılar üretiyor.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int printRandomNumbers(int limit) {
char status[limit];
int i, j, sayac, random, k;
for(i = 0; i<limit; i++)
status[i] = 'f';