Click here to Skip to main content
15,902,447 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: How to Remove duplicate files rapidly? Pin
Manoj Kumar Rai13-Oct-13 9:26
professionalManoj Kumar Rai13-Oct-13 9:26 
AnswerRe: How to Remove duplicate files rapidly? Pin
theafien3-Dec-13 3:58
theafien3-Dec-13 3:58 
QuestionEstimating RGB function blackbox Pin
codetowns27-Sep-13 23:04
codetowns27-Sep-13 23:04 
AnswerRe: Estimating RGB function blackbox Pin
Alan Balkany30-Sep-13 4:16
Alan Balkany30-Sep-13 4:16 
GeneralRe: Estimating RGB function blackbox Pin
codetowns1-Oct-13 5:26
codetowns1-Oct-13 5:26 
GeneralRe: Estimating RGB function blackbox Pin
Alan Balkany1-Oct-13 5:29
Alan Balkany1-Oct-13 5:29 
SuggestionRe: Estimating RGB function blackbox Pin
Matt T Heffron1-Oct-13 7:22
professionalMatt T Heffron1-Oct-13 7:22 
Questionhow to implement this Algorithm? (for DOM) Pin
computer_programmer121-Sep-13 5:42
computer_programmer121-Sep-13 5:42 
1-How to make a sandbox that sandboxing and preventing Malicous Java script at URL address bar with such permissions like never change the title page , never change the images or flash or any other multimedia from outside in the page and never excute a code from outside ?

2-after detecting and preventing through Sandbox , how to take the piece of code which causes the problem from a big malicious script ? e.g. eval() is the responsible for making the problem so i want the program to catch for the 3rd step

3-if for example eval() is the bad function which causes the trouble then how to REPLACE it -mapping- with a safe function? -lets say only a mapping for eval() ,execScript , SetTimeOut , SetTimeInterval
innerHTML , outerHTML document.cookies, location.replace , location.assign , script.src href , src , Iframe -



I red many articles but i didnt find safe mapping for unsafe functions


What are the safe mapping for those unsafe functions or properties??

I red this it was helpful but not complete:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval[^]

Note:
Though I hope to make this Algorithm implemented with c# -I posted this question there- but any help to solve this queston with any language will be welcomed.
AnswerRe: how to implement this Algorithm? (for DOM) Pin
Richard MacCutchan21-Sep-13 7:13
mveRichard MacCutchan21-Sep-13 7:13 
QuestionI need help on Genetic Algorithm using C# Pin
Uche Osahor4-Sep-13 2:37
Uche Osahor4-Sep-13 2:37 
AnswerRe: I need help on Genetic Algorithm using C# Pin
Alan Balkany4-Sep-13 5:00
Alan Balkany4-Sep-13 5:00 
GeneralRe: I need help on Genetic Algorithm using C# Pin
Uche Osahor4-Sep-13 5:08
Uche Osahor4-Sep-13 5:08 
Questioninversion algorithm Pin
amnakhan78612-Aug-13 18:51
amnakhan78612-Aug-13 18:51 
GeneralRe: inversion algorithm Pin
harold aptroot15-Aug-13 21:43
harold aptroot15-Aug-13 21:43 
AnswerRe: inversion algorithm Pin
Alan Balkany16-Aug-13 4:31
Alan Balkany16-Aug-13 4:31 
QuestionTLS HMAC and the Pseudorandom Function Simplification Assistance Pin
Dominick Marciano10-Aug-13 19:37
professionalDominick Marciano10-Aug-13 19:37 
Question[Closure and System.Reflection] Pin
Member 823782310-Aug-13 1:43
Member 823782310-Aug-13 1:43 
QuestionGARCH algo Pin
ExcellentOrg5-Aug-13 22:46
ExcellentOrg5-Aug-13 22:46 
QuestionHow to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo2-Aug-13 19:08
ahuzhangbo2-Aug-13 19:08 
AnswerRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia14-Aug-13 5:10
professionalArgonia14-Aug-13 5:10 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo14-Aug-13 15:30
ahuzhangbo14-Aug-13 15:30 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia14-Aug-13 21:36
professionalArgonia14-Aug-13 21:36 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo15-Aug-13 0:21
ahuzhangbo15-Aug-13 0:21 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
Argonia15-Aug-13 1:22
professionalArgonia15-Aug-13 1:22 
GeneralRe: How to find the shortest path between two nodes in a undigraph and it should via several given nodes? Pin
ahuzhangbo15-Aug-13 16:03
ahuzhangbo15-Aug-13 16:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.