Advertising (This ad goes away for registered users. You can Login or Register)

[Tutorial] How to dump any file between 2MB and 16MB

Post here your guides, tips, how-to, etc...
mr.gas
Guru
Posts: 163
Joined: Sat Apr 05, 2014 6:35 pm
Location: YEMEN

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by mr.gas » Wed Nov 18, 2015 4:55 pm

also u can do 600 dump in one forwarded message. . but u need to be careful .. because the email app will delete them when it finish dumping. . so u must close the email app before it get to the last file .
.
hint
(do a dummy files at the end)
Advertising

User avatar
niszczycielnpc
Posts: 259
Joined: Thu Dec 19, 2013 12:10 pm
Location: %appdata%/Poland/Netherland

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by niszczycielnpc » Wed Nov 18, 2015 5:06 pm

Will something like that work?

Code: Select all

CREATE TRIGGER FIFTH AFTER INSERT ON DT_MESSAGE_PART
BEGIN
UPDATE DT_MESSAGE_PART SET StatusFlag=0;
END
Advertising
Last edited by niszczycielnpc on Wed Nov 18, 2015 5:13 pm, edited 1 time in total.
My Devices [spoiler]PSVITA BLACK 3.50 - private exploit/color]
PLAYSTATION 4 OFW
PSP BLACK-1004 3.90 M33-2
XBOX 360 RGH JASPER
SAMSUNG GALAXY S 7 EDGE ROOTED
SAMSUNG GALAXY S ADVANCE ROOTED
NOKIA LUMIA 520[/spoiler]

mr.gas
Guru
Posts: 163
Joined: Sat Apr 05, 2014 6:35 pm
Location: YEMEN

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by mr.gas » Wed Nov 18, 2015 5:12 pm

do it in a specific way .. because this trigger will convert all the messages to flag 1

User avatar
niszczycielnpc
Posts: 259
Joined: Thu Dec 19, 2013 12:10 pm
Location: %appdata%/Poland/Netherland

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by niszczycielnpc » Wed Nov 18, 2015 5:14 pm

mr.gas wrote:do it in a specific way .. because this trigger will convert all the messages to flag 1

Code: Select all

CREATE TRIGGER FIFTH AFTER INSERT ON DT_MESSAGE_PART
BEGIN
UPDATE DT_MESSAGE_PART SET StatusFlag=0;
END
Why can it not change everything to flag 0?
I now i can make it changing status when file path is ux0:/email/messages/00/00
But im not so good with db xD
Last edited by niszczycielnpc on Wed Nov 18, 2015 5:18 pm, edited 1 time in total.
My Devices [spoiler]PSVITA BLACK 3.50 - private exploit/color]
PLAYSTATION 4 OFW
PSP BLACK-1004 3.90 M33-2
XBOX 360 RGH JASPER
SAMSUNG GALAXY S 7 EDGE ROOTED
SAMSUNG GALAXY S ADVANCE ROOTED
NOKIA LUMIA 520[/spoiler]

mr.gas
Guru
Posts: 163
Joined: Sat Apr 05, 2014 6:35 pm
Location: YEMEN

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by mr.gas » Wed Nov 18, 2015 5:18 pm

u must add where
for example
where file name ="#90gro0" or messageid = new.messageid
Last edited by mr.gas on Wed Nov 18, 2015 5:19 pm, edited 1 time in total.

User avatar
niszczycielnpc
Posts: 259
Joined: Thu Dec 19, 2013 12:10 pm
Location: %appdata%/Poland/Netherland

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by niszczycielnpc » Wed Nov 18, 2015 5:18 pm

mr.gas wrote:u must add where
for example
where file name ="#90gro0"
ohh ok

Code: Select all

CREATE TRIGGER FIFTH AFTER INSERT ON DT_MESSAGE_PART
WHEN new.FileName LIKE '#1'
BEGIN
UPDATE DT_MESSAGE_PART SET StatusFlag=0;
END
Ok i think its now working i will try.

YEAH ITS WORKING GUYS!
when you already dump this part file you just need to change name to your file like
01.Part.2.dat to DATA.MPK

Tutorial tomorrow i swear.
My Devices [spoiler]PSVITA BLACK 3.50 - private exploit/color]
PLAYSTATION 4 OFW
PSP BLACK-1004 3.90 M33-2
XBOX 360 RGH JASPER
SAMSUNG GALAXY S 7 EDGE ROOTED
SAMSUNG GALAXY S ADVANCE ROOTED
NOKIA LUMIA 520[/spoiler]

User avatar
niszczycielnpc
Posts: 259
Joined: Thu Dec 19, 2013 12:10 pm
Location: %appdata%/Poland/Netherland

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by niszczycielnpc » Wed Nov 18, 2015 6:27 pm

niszczycielnpc wrote:
mr.gas wrote:u must add where
for example
where file name ="#90gro0"
ohh ok

Code: Select all

CREATE TRIGGER FIFTH AFTER INSERT ON DT_MESSAGE_PART
WHEN new.FileName LIKE '#1'
BEGIN
UPDATE DT_MESSAGE_PART SET StatusFlag=0;
END
Ok i think its now working i will try.

YEAH ITS WORKING GUYS!
when you already dump this part file you just need to change name to your file like
01.Part.2.dat to DATA.MPK

Tutorial tomorrow i swear.
Wait its not changing status so i will try this

Code: Select all

CREATE TRIGGER FIFTH AFTER INSERT ON DT_MESSAGE_PART
WHEN FilePath = new.FilePath
BEGIN
UPDATE DT_MESSAGE_PART SET StatusFlag=0;
END
Becouse accountid = new.account id is ruining my email database and then i cant see mails

Nice is also not working i dont know what to change...

im for now using this

Code: Select all

CREATE TRIGGER FIFTH AFTER INSERT ON DT_MESSAGE_PART
WHEN new.FilePath LIKE '\\..\\..\\..\\pspemu\\PSP\\SAVEDATA\\DUMP\\data.psarc'
BEGIN
UPDATE DT_MESSAGE_PART SET StatusFlag=0;
END
My Devices [spoiler]PSVITA BLACK 3.50 - private exploit/color]
PLAYSTATION 4 OFW
PSP BLACK-1004 3.90 M33-2
XBOX 360 RGH JASPER
SAMSUNG GALAXY S 7 EDGE ROOTED
SAMSUNG GALAXY S ADVANCE ROOTED
NOKIA LUMIA 520[/spoiler]

mr.gas
Guru
Posts: 163
Joined: Sat Apr 05, 2014 6:35 pm
Location: YEMEN

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by mr.gas » Wed Nov 18, 2015 6:52 pm

UPDATE DT_MESSAGE_PART SET StatusFlag=0 where MessageID =new.MessageID;

User avatar
niszczycielnpc
Posts: 259
Joined: Thu Dec 19, 2013 12:10 pm
Location: %appdata%/Poland/Netherland

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by niszczycielnpc » Wed Nov 18, 2015 6:54 pm

mr.gas wrote:UPDATE DT_MESSAGE_PART SET StatusFlag=0 where MessageID =new.MessageID;
ohh thx.. im so stupid.

Code: Select all

CREATE TRIGGER FIFTH AFTER INSERT ON DT_MESSAGE_PART
BEGIN
UPDATE DT_MESSAGE_PART SET StatusFlag=0 where MessageID =new.MessageID;
END
My Devices [spoiler]PSVITA BLACK 3.50 - private exploit/color]
PLAYSTATION 4 OFW
PSP BLACK-1004 3.90 M33-2
XBOX 360 RGH JASPER
SAMSUNG GALAXY S 7 EDGE ROOTED
SAMSUNG GALAXY S ADVANCE ROOTED
NOKIA LUMIA 520[/spoiler]

OperationNT
Posts: 161
Joined: Sun Jul 12, 2015 1:15 pm

Re: [Tutorial] How to dump any file between 2MB and 16MB

Post by OperationNT » Thu Nov 19, 2015 8:37 am

Great job niszczycielnpc ! ;)

When I tried to do this a long time ago, I only got my dummy file from "XX.Part.Y.dat" if the file I wish to dump had a size less than 2MB and nothing if it was greater than 2MB. So I gave up on this solution. Now, I understand why:
mr.gas wrote:but u need to be careful .. because the email app will delete them when it finish dumping. . so u must close the email app before it get to the last file .
So, as I understand, playing with the status flag avoid the destruction?

@niszczycielnpc: I think for your "cleaned trigger", as mr.gas suggest it, you should use "WHEN new.FileName ...".

If you decide to "split" your trigger from my method (easiest way), maybe you should detect a new type of attachment like "#2" (WHEN new.FileName LIKE '#2'). But it will require to send a second email with a "#2" attachment file if my method fails.

If you decide to "fuse" your trigger with my method (avoid sending a second mail for if more than 16MB file), the reason why "WHEN new.FileName LIKE '#1'" fails is because my trigger rename the file "#1" to something with "\\..\\..\\..\\pspemu\\PSP\\SAVEDATA\\DUMP\\". So you need to detect if the FileName string contains "\\..\\..\\..\\pspemu\\PSP\\SAVEDATA\\DUMP\\". I am not an SQL expert but I think the trigger should looks like "WHEN new.FileName LIKE '%\\..\\..\\..\\pspemu\\PSP\\SAVEDATA\\DUMP\\%'" when I look at this forum: http://stackoverflow.com/questions/3498 ... ring-query

Now, I wish you a good tutorial writting! ;)

Post Reply

Return to “Tutorials”