Skip to content

Commit

Permalink
API: PE64 - Add check for TlsDirectory.AddressOfCallBacks == 0 to p…
Browse files Browse the repository at this point in the history
…revent attempting to reference invalid data.

Unpacker: v31.x64 - Adjust size of data searched when determining the variant version. Fixes #56
Misc: Update project copyrights.
Misc: Remove some unused/dead code from the UI.
  • Loading branch information
atom0s committed Mar 22, 2022
1 parent b31c7a1 commit d3423cd
Show file tree
Hide file tree
Showing 80 changed files with 86 additions and 94 deletions.
2 changes: 1 addition & 1 deletion ExamplePlugin/Main.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion ExamplePlugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Crypto/AesHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Events/LogMessageEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Events/LogMessageType.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Extensions/FileStreamExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Model/NavigatedEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Model/NotifiableModel.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Model/SteamlessOptions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Model/SteamlessPlugin.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Model/ViewModelBase.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/PE32/NativeApi32.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/PE32/Pe32File.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/PE32/Pe32Helpers.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/PE64/NativeApi64.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
5 changes: 4 additions & 1 deletion Steamless.API/PE64/Pe64File.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down Expand Up @@ -140,6 +140,9 @@ public bool Parse(string file = null)
// Read the Tls directory..
this.TlsDirectory = Pe64Helpers.GetStructure<NativeApi64.ImageTlsDirectory64>(this.FileData, (int)addr);

if (this.TlsDirectory.AddressOfCallBacks == 0)
return true;

// Read the Tls callbacks..
addr = this.GetRvaFromVa(this.TlsDirectory.AddressOfCallBacks);
addr = this.GetFileOffsetFromRva(addr);
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/PE64/Pe64Helpers.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/Services/LoggingService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/SteamlessApiVersionAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.API/SteamlessEvents.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.Unpacker.Variant20.x86/Main.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.Unpacker.Variant21.x86/Main.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.Unpacker.Variant30.x64/Main.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
2 changes: 1 addition & 1 deletion Steamless.Unpacker.Variant30.x86/Main.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
5 changes: 3 additions & 2 deletions Steamless.Unpacker.Variant31.x64/Main.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down Expand Up @@ -35,6 +35,7 @@ namespace Steamless.Unpacker.Variant31.x64
using Classes;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;

Expand Down Expand Up @@ -103,7 +104,7 @@ public override bool CanProcessFile(string file)
return false;

// Obtain the bind section data..
var bind = f.GetSectionData(".bind");
var bind = f.GetSectionData(".bind").Take(0x3000).ToArray();

// Attempt to locate the known v3.x signature..
var variant = Pe64Helpers.FindPattern(bind, "E8 00 00 00 00 50 53 51 52 56 57 55 41 50");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com]
* Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com]
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to
Expand Down
Loading

0 comments on commit d3423cd

Please sign in to comment.